记录详情

Time Exceeded

foo.c: In function 'main':
foo.c:8:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    8 |  for(i=min;i>0;i--)
      |  ^~~
foo.c:14:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   14 |   while(max<=a*b)
      |   ^~~~~
foo.c:5:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    5 |  scanf("%d,%d",&a,&b);
      |  ^~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1, expect 12. 3ms 256.0 KiB
#2 Wrong Answer Read 4, expect 120000. 1ms 256.0 KiB
#3 Wrong Answer Read 5, expect 800. 187ms 256.0 KiB
#4 Wrong Answer Read 6, expect 8. 2ms 256.0 KiB
#5 Time Exceeded ≥1100ms ≥256.0 KiB

信息

递交者
类型
递交
题目
A6-1 最大公约数专题:最大公约数和最小公倍数
比赛
中北 计算机2021级专业修读指导(3)
语言
C
递交时间
2021-12-16 18:18:02
评测时间
2021-12-16 18:18:02
评测机
分数
0
总耗时
≥1296ms
峰值内存
≥256.0 KiB