Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:25: error: expected ',' or ';' before 'cnt'
   13 |                         cnt+=(sqrt(x)*sqrt(x)==x);
      |                         ^~~
/in/foo.cc:12:29: warning: unused variable 'x' [-Wunused-variable]
   12 |                         int x=n[i]+n[j]
      |                             ^

信息

递交者
类型
递交
题目
P2627 完全平方数3级2 2024.3
语言
C++
递交时间
2026-05-20 19:54:52
评测时间
2026-05-20 19:54:52
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes