记录详情

Runtime Error

/in/foo.cc: In function 'void left(std::__cxx11::string&)':
/in/foo.cc:12:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=1;i<ss.size();i++) ss[i-1]=ss[i];
              ~^~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:31:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=1;i<ss.size();i++)
              ~^~~~~~~~~~
/in/foo.cc:38:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<ss.size();i++) s[i].p=i;
              ~^~~~~~~~~~
/in/foo.cc:40:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<ss.size();i++) cout<<s[i].p<<' ';
              ~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 332.0 KiB
#2 Wrong Answer 2ms 332.0 KiB
#3 Accepted 2ms 404.0 KiB
#4 Accepted 1ms 360.0 KiB
#5 Wrong Answer 3ms 532.0 KiB
#6 Wrong Answer 3ms 632.0 KiB
#7 Runtime Error 10ms 996.0 KiB
#8 Runtime Error 10ms 976.0 KiB
#9 Runtime Error 9ms 740.0 KiB
#10 Runtime Error 10ms 1008.0 KiB

信息

递交者
类型
递交
题目
P1301 H. String Shifting
比赛
南京师范大学2021年11月程序设计竞赛
语言
C++
递交时间
2021-11-21 17:19:20
评测时间
2021-11-21 17:20:19
评测机
分数
30
总耗时
56ms
峰值内存
1008.0 KiB