记录详情

Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:33:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   33 |                 if(i%a==0&&i%b==0)
      |                 ^~
foo.cc:36:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   36 |                         flag=1;
      |                         ^~~~
foo.cc:38:18: warning: ‘c’ may be used uninitialized [-Wmaybe-uninitialized]
   38 |         cout<<c<<" "<<d<<endl;
      |                  ^~~
foo.cc:17:17: note: ‘c’ was declared here
   17 |         int a,b,c,d,flag=0;
      |                 ^
foo.cc:38:23: warning: ‘d’ may be used uninitialized [-Wmaybe-uninitialized]
   38 |         cout<<c<<" "<<d<<endl;
      |                       ^
foo.cc:17:19: note: ‘d’ was declared here
   17 |         int a,b,c,d,flag=0;
      |                   ^
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 60. 2ms 536.0 KiB
#2 Wrong Answer Read 0, expect 10626. 3ms 536.0 KiB
#3 Wrong Answer Read 0, expect 60. 2ms 328.0 KiB
#4 Wrong Answer Read 0, expect 180. 2ms 536.0 KiB
#5 Wrong Answer Read 0, expect 2189997. 41ms 544.0 KiB
#6 Wrong Answer Read 0, expect 12. 2ms 536.0 KiB
#7 Wrong Answer Read 0, expect 152151. 3ms 324.0 KiB
#8 Wrong Answer Read 0, expect 15. 2ms 536.0 KiB
#9 Wrong Answer Read 0, expect 12. 2ms 536.0 KiB
#10 Wrong Answer Read 0, expect 1000. 2ms 320.0 KiB

信息

递交者
类型
递交
题目
公约数公倍数
语言
C++
递交时间
2024-05-06 15:57:44
评测时间
2024-05-06 15:57:44
评测机
分数
0
总耗时
66ms
峰值内存
544.0 KiB