记录详情

Accepted

foo.c: In function 'main':
foo.c:9:12: warning: unused variable 'cnt' [-Wunused-variable]
    9 |  int x,max,cnt=0;
      |            ^~~
foo.c:9:6: warning: unused variable 'x' [-Wunused-variable]
    9 |  int x,max,cnt=0;
      |      ^
foo.c:7:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    7 |  scanf("%d", &n);
      |  ^~~~~~~~~~~~~~~
foo.c:12:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   12 |   scanf("%d", &a[i]);
      |   ^~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 640.0 KiB
#2 Accepted 2ms 640.0 KiB
#3 Accepted 2ms 640.0 KiB
#4 Accepted 90ms 676.0 KiB
#5 Accepted 234ms 640.0 KiB

信息

递交者
类型
递交
题目
3-3 炒股发财
比赛
2021(四) 作业第四场:加速赛
语言
C
递交时间
2021-12-08 23:11:36
评测时间
2021-12-08 23:11:36
评测机
分数
100
总耗时
333ms
峰值内存
676.0 KiB