/ Vijos /

记录详情

Compile Error

/in/foo.c: In function 'dfs':
/in/foo.c:25:13: error: expected identifier or '(' before '&' token
         int &a=tree[i];//取该层一个结点
             ^
/in/foo.c: In function 'main':
/in/foo.c:58:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(i=1;i<=p;i++)
     ^~~
/in/foo.c:60:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  printf("%d\n",count);
  ^~~~~~

信息

递交者
类型
递交
题目
P1101 传染病防治
语言
C
递交时间
2020-12-14 06:19:52
评测时间
2020-12-14 06:19:52
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes