记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:12:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(k=z;k<=a*b;k++);
  ^~~
foo.c:13:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   if(k%a==0&&k%b==0)
   ^~
foo.c:6:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&a,&b);
  ^~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 2, expect 1. 0ms 256.0 KiB
#2 Wrong Answer 0a1 > 3048516 0ms 256.0 KiB
#3 Wrong Answer 0a1 > 6 0ms 256.0 KiB
#4 Wrong Answer 0a1 > 302971176544008 0ms 256.0 KiB
#5 Wrong Answer 0a1 > 2864982366580 0ms 256.0 KiB
#6 Wrong Answer 0a1 > 2147483647 0ms 256.0 KiB
#7 Wrong Answer 0a1 > 61110 0ms 256.0 KiB
#8 Wrong Answer 0a1 > 10734330 0ms 256.0 KiB
#9 Wrong Answer 0a1 > 108874381 0ms 256.0 KiB
#10 Wrong Answer 0a1 > 36435038010 0ms 256.0 KiB

信息

递交者
类型
递交
语言
C
递交时间
2021-09-02 22:23:15
评测时间
2021-09-02 22:23:15
评测机
分数
0
总耗时
8ms
峰值内存
256.0 KiB