/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:31:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int j=0;j<start.size()-1;++j)
               ~^~~~~~~~~~~~~~~
/in/foo.cc:32:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int t=j+1;t<start.size();++t)
                  ~^~~~~~~~~~~~~
/in/foo.cc:49:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int j=0;j<start.size();++j)
                ~^~~~~~~~~~~~~
/in/foo.cc:53: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:68:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int j=0;j<start.size();++j)
               ~^~~~~~~~~~~~~
/in/foo.cc:71: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 420.0 KiB
#2 Wrong Answer 1ms 444.0 KiB
#3 Wrong Answer 1ms 376.0 KiB
#4 Wrong Answer 1ms 460.0 KiB
#5 Wrong Answer 1ms 344.0 KiB
#6 Wrong Answer 1ms 412.0 KiB
#7 Wrong Answer 2ms 368.0 KiB
#8 Wrong Answer 2ms 452.0 KiB
#9 Wrong Answer 2ms 496.0 KiB
#10 Wrong Answer 1ms 468.0 KiB

信息

递交者
类型
递交
题目
P1422 教主的难题
语言
C++
递交时间
2024-07-12 08:16:52
评测时间
2024-07-12 08:16:52
评测机
分数
0
总耗时
18ms
峰值内存
496.0 KiB