/ 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 328.0 KiB
#2 Wrong Answer 1ms 376.0 KiB
#3 Wrong Answer 1ms 328.0 KiB
#4 Wrong Answer 1ms 376.0 KiB
#5 Wrong Answer 1ms 376.0 KiB
#6 Wrong Answer 1ms 376.0 KiB
#7 Wrong Answer 2ms 492.0 KiB
#8 Wrong Answer 2ms 456.0 KiB
#9 Wrong Answer 2ms 468.0 KiB
#10 Wrong Answer 1ms 416.0 KiB

信息

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