记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:6: warning: unused variable 'n' [-Wunused-variable]
  int n=xmax-xmin+1;
      ^
/in/foo.cc:10:12: warning: 'xmax' is used uninitialized in this function [-Wuninitialized]
  int n=xmax-xmin+1;
        ~~~~^~~~~
/in/foo.cc:10:12: warning: 'xmin' is used uninitialized in this function [-Wuninitialized]
/in/foo.cc:61:14: warning: array subscript is above array bounds [-Warray-bounds]
   if(max==c[9])
           ~~~^
# 状态 耗时 内存占用
#1 Accepted 1ms 224.0 KiB
#2 Accepted 1ms 216.0 KiB
#3 Accepted 1ms 220.0 KiB
#4 Accepted 2ms 220.0 KiB
#5 Accepted 4ms 212.0 KiB

信息

递交者
类型
递交
题目
P1086 3-1 整数中的数字
语言
C++
递交时间
2021-06-06 12:20:43
评测时间
2021-06-06 12:20:43
评测机
分数
100
总耗时
11ms
峰值内存
224.0 KiB