记录详情

Accepted

foo.c: In function 'main':
foo.c:4:23: warning: unused variable 'min' [-Wunused-variable]
  int m, n, i, j, max, min, s = 0;
                       ^~~
foo.c:4:18: warning: unused variable 'max' [-Wunused-variable]
  int m, n, i, j, max, min, s = 0;
                  ^~~
foo.c:5:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d %d", &m, &n);
  ^~~~~~~~~~~~~~~~~~~~~~
foo.c:9:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%d", &a[i][j]);
    ^~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 0ms 292.0 KiB
#2 Accepted 0ms 292.0 KiB
#3 Accepted 1ms 768.0 KiB
#4 Accepted 2ms 1.055 MiB
#5 Accepted 3ms 1.301 MiB

信息

递交者
类型
递交
题目
4-4 有多少个山峰
比赛
2021(四) 作业第三场:热身赛
语言
C
递交时间
2021-11-14 11:04:14
评测时间
2021-11-14 11:04:14
评测机
分数
100
总耗时
8ms
峰值内存
1.301 MiB