记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:16:3: warning: statement with no effect [-Wunused-value]
   for (h ; h > 23; h - 24)h = h - 24;
   ^~~
foo.c:16:22: warning: statement with no effect [-Wunused-value]
   for (h ; h > 23; h - 24)h = h - 24;
                    ~~^~~~
foo.c:20:3: warning: statement with no effect [-Wunused-value]
   for (m; m > 59; m - 60)m = m - 60;
   ^~~
foo.c:20:21: warning: statement with no effect [-Wunused-value]
   for (m; m > 59; m - 60)m = m - 60;
                   ~~^~~~
foo.c:24:3: warning: statement with no effect [-Wunused-value]
   for (s; s > 59; s - 60)s = s - 60;
   ^~~
foo.c:24:21: warning: statement with no effect [-Wunused-value]
   for (s; s > 59; s - 60)s = s - 60;
                   ~~^~~~
foo.c:6:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d %d %d\n%d", &h, &m, &s,&num);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 2, expect 23. 0ms 288.0 KiB
#2 Wrong Answer Read 8, expect 23. 0ms 288.0 KiB
#3 Wrong Answer Read 10, expect 23. 0ms 288.0 KiB
#4 Wrong Answer Read 11, expect 0. 0ms 284.0 KiB
#5 Wrong Answer Read 0, expect 1. 0ms 256.0 KiB

信息

递交者
类型
递交
题目
P1000 OO1-1 时间类Time
语言
C
递交时间
2021-08-29 16:30:59
评测时间
2021-08-29 16:30:59
评测机
分数
0
总耗时
4ms
峰值内存
288.0 KiB