/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'void add(int, int)':
/in/foo.cc:50:24: error: 'heads' was not declared in this scope
   50 |         memchi[gn].nxt=heads[s];
      |                        ^~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:134:22: error: expected ';' before '\U0000ff1b'
  134 |                 ptr--;
      |                      ^~
      |                      ;
/in/foo.cc:135:47: error: 'i' was not declared in this scope
  135 |                 for(register int i=heads[me]; i; i=memchi[i].nxt) {
      |                                               ^
/in/foo.cc:151:44: error: 'fheads' was not declared in this scope; did you mean 'heads'?
  151 |                         for(register int i=fheads[me]; i; i=memchi[i].nxt) {
      |                                            ^~~~~~
      |                                            heads
/in/foo.cc: In function 'int get()':
/in/foo.cc:25:1: warning: control reaches end of non-void function [-Wreturn-type]
   25 | }
      | ^

信息

递交者
类型
递交
题目
P1819 航空管制
语言
C++
递交时间
2025-10-26 21:12:08
评测时间
2025-10-26 21:12:08
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes