Compile Error
/in/foo.cc: In function 'int sum(int)':
/in/foo.cc:10:17: error: 'sqrt' was not declared in this scope; did you mean 'sqrtX'?
   10 |     int sqrtX = sqrt(x);
      |                 ^~~~
      |                 sqrtX
  信息
- 递交者
 - 类型
 - 递交
 - 题目
 - A3-1 素数专题:因子的和
 - 比赛
 - 2025年暑期编程训练营之一
 - 语言
 - C++
 - 递交时间
 - 2025-07-03 15:47:54
 - 评测时间
 - 2025-07-03 15:47:54
 - 评测机
 
- 分数
 - 0
 - 总耗时
 - 0ms
 - 峰值内存
 - 0 Bytes