/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:20:3: error: 'node' was not declared in this scope
   20 |   node tmp;
      |   ^~~~
foo.cc:21:6: error: 'tmp' was not declared in this scope; did you mean 'tm'?
   21 |      tmp=f[j-1];
      |      ^~~
      |      tm
foo.cc:27:4: error: expected ')' before 'if'
   27 |   }
      |    ^
      |    )
   28 |      if(tmp.d<f[j].d){
      |      ~~
foo.cc:24:8: note: to match this '('
   24 |   }else({
      |        ^
foo.cc:30:4: error: expected ';' before 'else'
   30 |   }else{
      |    ^~~~
      |    ;
foo.cc:41:1: error: expected '}' at end of input
   41 | }
      | ^
foo.cc:7:11: note: to match this '{'
    7 | int main(){
      |           ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1648 NightElf
语言
C++
递交时间
2022-01-01 21:16:18
评测时间
2022-01-01 21:16:18
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes