记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:22:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   22 |         for (i = 0; n != 0; i++)
      |         ^~~
foo.c:24:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   24 |                 int x = FindMin(a, i);
      |                 ^~~
foo.c:24:21: warning: unused variable 'x' [-Wunused-variable]
   24 |                 int x = FindMin(a, i);
      |                     ^
foo.c:17:23: warning: unused variable 'xmin' [-Wunused-variable]
   17 |         int xmax = 0, xmin = 0;
      |                       ^~~~
foo.c:17:13: warning: unused variable 'xmax' [-Wunused-variable]
   17 |         int xmax = 0, xmin = 0;
      |             ^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 56778824, expect 67788124. 2ms 668.0 KiB
#2 Wrong Answer 0a1 > 112223334445556667770008 2ms 668.0 KiB
#3 Wrong Answer 0a1 > 999988877766655544443332 5ms 668.0 KiB
#4 Wrong Answer 0a1 > 671122339567112233956711 3ms 668.0 KiB
#5 Wrong Answer 0a1 > 987654322345678998765432 2ms 668.0 KiB

信息

递交者
类型
递交
题目
5-8 留下最大数
比赛
2023 程序设计与竞赛(作业7:最初的综合)
语言
C
递交时间
2023-11-11 19:22:41
评测时间
2023-11-11 19:22:41
评测机
分数
0
总耗时
16ms
峰值内存
668.0 KiB