记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:6:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    6 |  scanf("%d",&n);
      |  ^~~~~~~~~~~~~~
foo.c:9:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    9 |   scanf("%d",&x[i]);
      |   ^~~~~~~~~~~~~~~~~
foo.c:23:7: warning: 'a[0]' may be used uninitialized in this function [-Wmaybe-uninitialized]
   23 |  max2 = a[0];
      |  ~~~~~^~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 1012.0 KiB
#2 Wrong Answer Read 13, expect 14. 3ms 1.02 MiB
#3 Accepted 8ms 1.0 MiB
#4 Accepted 74ms 1.0 MiB
#5 Accepted 213ms 1.0 MiB

信息

递交者
类型
递交
题目
3-3 炒股发财
比赛
2021(四) 作业第四场:加速赛
语言
C
递交时间
2021-12-09 14:24:08
评测时间
2021-12-09 14:24:08
评测机
分数
80
总耗时
303ms
峰值内存
1.02 MiB