/ Vijos /

记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:34:36: warning: missing terminating " character
 if(d==i&&c==1) {printf(";printf("%d",a[i]);}
                                    ^
/in/foo.c:34:36: error: missing terminating " character
 if(d==i&&c==1) {printf(";printf("%d",a[i]);}
                                    ^~~~~~~~~
/in/foo.c:34:34: error: invalid operands to binary % (have 'char *' and 'int')
 if(d==i&&c==1) {printf(";printf("%d",a[i]);}
                        ~~~~~~~~~~^
/in/foo.c:35:1: error: expected ')' before 'else'
 else printf("%d",a[i]);
 ^~~~
/in/foo.c:36:1: error: expected ';' before '}' token
 }
 ^
/in/foo.c:40:1: error: expected declaration or statement at end of input
 }
 ^
/in/foo.c:4:21: warning: unused variable 'xunhuan' [-Wunused-variable]
 int x,y,n,c,d,i,j,l,xunhuan,a[101]={0},b[101]={0};
                     ^~~~~~~

信息

递交者
类型
递交
题目
P1343 精度计算
语言
C
递交时间
2018-07-18 17:48:43
评测时间
2018-07-18 17:48:43
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes