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