/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main(int, char**)':
/in/foo.cc:8:7: error: expected ';' before ')' token
  for(k)
       ^
/in/foo.cc:9:9: warning: statement has no effect [-Wunused-value]
   b=b*10;
         ^
/in/foo.cc:10:2: error: 'While' was not declared in this scope
  While not(a=n%b)
  ^~~~~
/in/foo.cc:10:8: error: expected ';' before 'not' token
  While not(a=n%b)
        ^~~
/in/foo.cc:10:8: warning: value computed is not used [-Wunused-value]
  While not(a=n%b)
        ^~~~~~~~~~
/in/foo.cc:11:3: error: expected ')' before 'a'
   a=a%b;
   ^
/in/foo.cc:13:2: error: expected ';' before 'if'
  if(l<10){
  ^~
/in/foo.cc:16:2: error: 'else' without a previous 'if'
  else
  ^~~~

信息

递交者
类型
递交
题目
P1032 循环
语言
C++
递交时间
2020-02-23 12:56:00
评测时间
2020-02-23 12:56:00
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes