Wrong Answer
foo.cc: In function ‘int main()’: foo.cc:31:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 31 | if(i%a==0&&i%b==0) | ^~ foo.cc:33:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 33 | break; | ^~~~~ foo.cc:35:18: warning: ‘c’ may be used uninitialized [-Wmaybe-uninitialized] 35 | cout<<c<<" "<<d<<endl; | ^~~ foo.cc:17:17: note: ‘c’ was declared here 17 | int a,b,c,d; | ^
信息
- 递交者
- 类型
- 递交
- 题目
- 公约数公倍数
- 语言
- C++
- 递交时间
- 2024-05-06 15:54:05
- 评测时间
- 2024-05-06 15:54:05
- 评测机
- 分数
- 0
- 总耗时
- 28ms
- 峰值内存
- 540.0 KiB