Compile Error
/in/foo.cc: In function 'int calculateGCD(int*)': /in/foo.cc:10:22: error: 'gcd' was not declared in this scope r=gcd(r, a[i]); ^ /in/foo.cc: In function 'int main()': /in/foo.cc:18:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (n <= 0) ^~ /in/foo.cc:20:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' int numbers[n]; ^~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1491 A6-4 最大公约数专题:多个数的最大公约数
- 比赛
- 春季班中级5.4
- 语言
- C++
- 递交时间
- 2024-05-10 21:37:58
- 评测时间
- 2024-05-10 21:37:58
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes