/ Vijos /

记录详情

Compile Error

/in/foo.cc:63:4: error: stray '\357' in program
  if(tmp==0)
    ^
/in/foo.cc:63:5: error: stray '\274' in program
  if(tmp==0)
     ^
/in/foo.cc:63:6: error: stray '\210' in program
  if(tmp==0)
      ^
/in/foo.cc:63:13: error: stray '\357' in program
  if(tmp==0)
             ^
/in/foo.cc:63:14: error: stray '\274' in program
  if(tmp==0)
              ^
/in/foo.cc:63:15: error: stray '\211' in program
  if(tmp==0)
               ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:63:7: error: expected '(' before 'tmp'
  if(tmp==0)
       ^~~
/in/foo.cc:67:2: error: 'else' without a previous 'if'
  else:
  ^~~~
/in/foo.cc:67:6: error: expected primary-expression before ':' token
  else:
      ^
/in/foo.cc:62:6: warning: unused variable 'tmp' [-Wunused-variable]
  int tmp=rand()%2;
      ^~~
/in/foo.cc: In function 'int get_pos(const int*, int, int)':
/in/foo.cc:20:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

信息

递交者
类型
递交
题目
P1842 火柴排队
语言
C++
递交时间
2021-10-15 21:27:39
评测时间
2021-10-15 21:27:39
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes