/ Vijos /

记录详情

Compile Error

/in/foo.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
/in/foo.cc:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
/in/foo.cc:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
/in/foo.cc:4:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
/in/foo.cc:5:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
/in/foo.cc: In function 'int dotime()':
/in/foo.cc:22:22: error: 'scanf' was not declared in this scope
         scanf("%d",&y);
                      ^
/in/foo.cc: In function 'void doclass(int)':
/in/foo.cc:70:25: error: expected ';' before ')' token
         for(int i=0;i<=0)
                         ^
/in/foo.cc:68:13: warning: unused variable 'ans' [-Wunused-variable]
         int ans=0;
             ^~~
/in/foo.cc:69:16: warning: unused variable 'add' [-Wunused-variable]
         object add;
                ^~~
/in/foo.cc: At global scope:
/in/foo.cc:73:9: error: expected unqualified-id before 'if'
         if(mark==0)
         ^~
/in/foo.cc:75:9: error: expected unqualified-id before 'else'
         else printf("%d\n%d,%d\n",ans,add.x+1,add.y+1);
         ^~~~
/in/foo.cc:76:1: error: expected declaration before '}' token
 }
 ^
/in/foo.cc: In function 'int change(object&)':
/in/foo.cc:64:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

信息

递交者
类型
递交
题目
P1503 笨笨的纸条传递
语言
C++
递交时间
2020-06-08 21:53:14
评测时间
2020-06-08 21:53:15
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes