记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:27:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   27 |     if(j==n-1)
      |       ^
foo.cc:40:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   40 |     if(j==n-1)
      |       ^
foo.cc:5:14: warning: unused variable 'max' [-Wunused-variable]
    5 |  int m,n,i,j,max,min,s;
      |              ^~~
foo.cc:5:18: warning: unused variable 'min' [-Wunused-variable]
    5 |  int m,n,i,j,max,min,s;
      |                  ^~~
foo.cc:5:22: warning: unused variable 's' [-Wunused-variable]
    5 |  int m,n,i,j,max,min,s;
      |                      ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 37, expect 36. 5ms 384.0 KiB
#2 Wrong Answer Read 29, expect 30. 5ms 384.0 KiB
#3 Wrong Answer Read 302, expect 385. 6ms 384.0 KiB
#4 Wrong Answer Read 878, expect 939. 10ms 512.0 KiB
#5 Wrong Answer Read 2432, expect 2300. 15ms 512.0 KiB

信息

递交者
类型
递交
题目
4-4 有多少个山峰
语言
C++
递交时间
2022-08-08 15:10:32
评测时间
2022-08-08 15:10:32
评测机
分数
0
总耗时
43ms
峰值内存
512.0 KiB