/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:6:15: error: expected ';' before ')' token
     for(cin>>a){
               ^
/in/foo.cc:17:1: error: expected primary-expression at end of input
 }
 ^
/in/foo.cc:17:1: error: expected ';' at end of input
/in/foo.cc:17:1: error: expected primary-expression at end of input
/in/foo.cc:17:1: error: expected ')' at end of input
/in/foo.cc:17:1: error: expected statement at end of input
/in/foo.cc:6:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(cin>>a){
     ^~~
cc1plus: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
/in/foo.cc:17:1: error: expected '}' at end of input
 }
 ^

信息

递交者
类型
递交
题目
P1258 多项式表示
语言
C++
递交时间
2020-12-14 22:32:15
评测时间
2020-12-14 22:32:15
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes