记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:31:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < str.size(); i++)
                  ~~^~~~~~~~~~~~
/in/foo.cc: In function 'int turn(char)':
/in/foo.cc:16:9: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return x;
         ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:36:14: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
   q[x][y][z] = i+1;
   ~~~~~~~~~~~^~~~~
/in/foo.cc:36:14: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
/in/foo.cc:36:14: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
# 状态 耗时 内存占用
#1 Runtime Error 2ms 964.0 KiB
#2 Runtime Error 2ms 976.0 KiB
#3 Wrong Answer 2ms 912.0 KiB
#4 Wrong Answer 2ms 888.0 KiB
#5 Runtime Error 2ms 996.0 KiB
#6 Runtime Error 2ms 972.0 KiB
#7 Wrong Answer 11ms 1.281 MiB
#8 Runtime Error 11ms 1.328 MiB
#9 Wrong Answer 11ms 1.211 MiB
#10 Runtime Error 11ms 1.316 MiB

信息

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