/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
     while(w--)
     ^~~~~
/in/foo.cc:11:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
       w/=10;
       ^
/in/foo.cc: At global scope:
/in/foo.cc:14:3: error: 'cout' does not name a type
   cout << ans << endl;
   ^~~~
/in/foo.cc:15:3: error: expected unqualified-id before 'return'
   return 0;
   ^~~~~~
/in/foo.cc:16:1: error: expected declaration before '}' token
 }
 ^

信息

递交者
类型
递交
题目
P1848 记数问题
语言
C++
递交时间
2024-07-25 21:04:36
评测时间
2024-07-25 21:04:36
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes