记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<a.length();i++)
              ~^~~~~~~~~~~
/in/foo.cc:15:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<a.length();i++)
              ~^~~~~~~~~~~
/in/foo.cc:21:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<a.length();i++)
              ~^~~~~~~~~~~
/in/foo.cc:27:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=oo+1;i<a.length();i++)
                 ~^~~~~~~~~~~
/in/foo.cc:7:20: warning: unused variable 'cnt' [-Wunused-variable]
  int b[100000],k=0,cnt=0,oo;
                    ^~~
/in/foo.cc:27:15: warning: 'oo' may be used uninitialized in this function [-Wmaybe-uninitialized]
  for(int i=oo+1;i<a.length();i++)
               ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 228.0 KiB
#2 Wrong Answer 1ms 216.0 KiB
#3 Accepted 1ms 220.0 KiB
#4 Wrong Answer 1ms 224.0 KiB
#5 Accepted 1ms 212.0 KiB

信息

递交者
类型
递交
题目
5-8 留下最大数
比赛
2021苏青奥赛集训营(春季结业赛)
语言
C++
递交时间
2021-06-06 14:01:19
评测时间
2021-06-06 14:01:19
评测机
分数
40
总耗时
6ms
峰值内存
228.0 KiB