Wrong Answer
foo.cc: In function ‘int dfs(int)’:
foo.cc:8:13: warning: statement has no effect [-Wunused-value]
8 | q[x]-1;
| ~~~~^~
foo.cc: In function ‘int main()’:
foo.cc:17:20: warning: pointer to a function used in arithmetic [-Wpointer-arith]
17 | cout<<dfs[n]<<endl;
| ^
foo.cc:17:20: warning: comparing the result of pointer addition ‘(dfs + ((sizetype)n))’ and NULL [-Waddress]
信息
- 递交者
- 类型
- 递交
- 题目
- P2700 伯罗奔尼撒箭阵
- 语言
- C++
- 递交时间
- 2026-05-02 09:58:02
- 评测时间
- 2026-05-02 09:58:02
- 评测机
- 分数
- 0
- 总耗时
- 28ms
- 峰值内存
- 512.0 KiB