记录详情

Wrong Answer

foo.c: In function 'bubble':
foo.c:5:15: warning: unused variable 'j' [-Wunused-variable]
    5 |         int i,j;
      |               ^
foo.c: In function 'main':
foo.c:47:9: warning: 'min' may be used uninitialized [-Wmaybe-uninitialized]
   47 |         printf("%d",max-min);
      |         ^~~~~~~~~~~~~~~~~~~~
foo.c:39:13: note: 'min' was declared here
   39 |         int min,max;
      |             ^~~
foo.c:47:9: warning: 'max' may be used uninitialized [-Wmaybe-uninitialized]
   47 |         printf("%d",max-min);
      |         ^~~~~~~~~~~~~~~~~~~~
foo.c:39:17: note: 'max' was declared here
   39 |         int min,max;
      |                 ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -2042294085, expect 750843. 1ms 284.0 KiB
#2 Wrong Answer Read 1433975498, expect 874296522. 2ms 284.0 KiB
#3 Wrong Answer Read 948201031, expect 77508423. 1ms 284.0 KiB
#4 Wrong Answer Read -2055365368, expect 863098632. 1ms 284.0 KiB
#5 Wrong Answer Read -1369621504, expect 0. 1ms 284.0 KiB

信息

递交者
类型
递交
题目
5-7 玩整数
比赛
2023 程序设计与竞赛(作业3:中秋和国庆)
语言
C
递交时间
2023-10-01 18:10:26
评测时间
2023-10-01 18:10:26
评测机
分数
0
总耗时
9ms
峰值内存
284.0 KiB