/ /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:22:19: warning: 'nmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<dmax<<" "<<nmax<<endl;
                   ^~~~
/in/foo.cc:16:17: warning: 'dmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if(d[i]>d[dmax])
           ~~~~~~^
# 状态 耗时 内存占用
#1 Runtime Error 1ms 424.0 KiB
#2 Runtime Error 2ms 1.09 MiB
#3 Runtime Error 3ms 460.0 KiB
#4 Runtime Error 1ms 452.0 KiB
#5 Runtime Error 1ms 464.0 KiB
#6 Runtime Error 1ms 364.0 KiB
#7 Runtime Error 1ms 416.0 KiB
#8 Runtime Error 1ms 364.0 KiB
#9 Runtime Error 2ms 356.0 KiB
#10 Runtime Error 1ms 380.0 KiB

信息

递交者
类型
递交
题目
P1844 哪种苹果最多
语言
C++
递交时间
2022-01-16 14:16:01
评测时间
2022-01-16 14:16:01
评测机
分数
0
总耗时
20ms
峰值内存
1.09 MiB