记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:10:6: warning: unused variable 'n' [-Wunused-variable]
  int n=xmax-xmin+1;
      ^
foo.cc:10:12: warning: 'xmax' is used uninitialized in this function [-Wuninitialized]
  int n=xmax-xmin+1;
        ~~~~^~~~~
foo.cc:10:12: warning: 'xmin' is used uninitialized in this function [-Wuninitialized]
foo.cc:61:14: warning: array subscript is above array bounds [-Warray-bounds]
   if(max==c[9])
           ~~~^
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 340.0 KiB
#3 Accepted 1ms 364.0 KiB
#4 Accepted 6ms 388.0 KiB
#5 Accepted 16ms 392.0 KiB

信息

递交者
类型
递交
题目
3-1 整数中的数字
比赛
2020苏青奥赛集训营(2021-4-11模拟赛)
语言
C++
递交时间
2021-04-11 13:57:59
评测时间
2021-04-11 13:57:59
评测机
分数
100
总耗时
29ms
峰值内存
392.0 KiB