/ Vijos /

记录详情

Compile Error

/in/foo.c:1:23: error: expected ')' before 'sizeof'
 memset( ans , false , sizeof(ans) ) ;
                       ^~~~~~
/in/foo.c:6:1: error: expected identifier or '(' before 'for'
 for (i=0;i<m;++i)
 ^~~
/in/foo.c:6:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
 for (i=0;i<m;++i)
           ^
/in/foo.c:6:14: error: expected identifier or '(' before '++' token
 for (i=0;i<m;++i)
              ^~
/in/foo.c:7:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
 for (j=0;j<m;++j) {
           ^
/in/foo.c:7:14: error: expected identifier or '(' before '++' token
 for (j=0;j<m;++j) {
              ^~
/in/foo.c:12:1: error: expected identifier or '(' before 'for'
 for (ii[1]=1,jj[1]=0,i=0;i<m;++i) {
 ^~~
/in/foo.c:12:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
 for (ii[1]=1,jj[1]=0,i=0;i<m;++i) {
                           ^
/in/foo.c:12:30: error: expected identifier or '(' before '++' token
 for (ii[1]=1,jj[1]=0,i=0;i<m;++i) {
                              ^~
/in/foo.c:29:1: error: expected identifier or '(' before 'if'
 if (flag==0) puts("Unsuccessful Hack Attempt");
 ^~
/in/foo.c:30:1: error: expected identifier or '(' before 'else'
 else {
 ^~~~

信息

递交者
类型
递交
题目
P1965 夜夜的数据加强
语言
C
递交时间
2022-01-12 18:54:41
评测时间
2022-01-12 18:54:41
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes