Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:11:44: error: expected initializer before '+=' token
11 | int x=n[i]+n[j],cnt+=(sqrt(x)*sqrt(x)==x);
| ^~
/in/foo.cc:11:29: warning: unused variable 'x' [-Wunused-variable]
11 | int x=n[i]+n[j],cnt+=(sqrt(x)*sqrt(x)==x);
| ^
信息
- 递交者
- 类型
- 递交
- 题目
- P2627 完全平方数3级2 2024.3
- 语言
- C++
- 递交时间
- 2026-04-04 14:24:32
- 评测时间
- 2026-04-04 14:24:32
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes