/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:29:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int j=0;j<start.size()-1;++j)
               ~^~~~~~~~~~~~~~~
/in/foo.cc:30:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int t=j+1;t<start.size();++t)
                  ~^~~~~~~~~~~~~
/in/foo.cc:46:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int j=0;j<start.size();++j)
                ~^~~~~~~~~~~~~
/in/foo.cc:50:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      r=start[(j+1>start.size()-1?0:j+1)]-'0',
               ~~~^~~~~~~~~~~~~~~
/in/foo.cc:64:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int j=0;j<start.size();++j)
               ~^~~~~~~~~~~~~
/in/foo.cc:67:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     r=start[(j+1>start.size()-1?0:j+1)]-'0';
              ~~~^~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 440.0 KiB
#2 Wrong Answer 1ms 400.0 KiB
#3 Runtime Error 1ms 492.0 KiB
#4 Wrong Answer 1ms 324.0 KiB
#5 Wrong Answer 1ms 328.0 KiB
#6 Runtime Error 1ms 468.0 KiB
#7 Runtime Error 2ms 520.0 KiB
#8 Runtime Error 1ms 448.0 KiB
#9 Runtime Error 2ms 488.0 KiB
#10 Runtime Error 2ms 464.0 KiB

信息

递交者
类型
递交
题目
P1422 教主的难题
语言
C++
递交时间
2024-07-11 22:34:06
评测时间
2024-07-11 22:34:06
评测机
分数
0
总耗时
18ms
峰值内存
520.0 KiB