记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:25:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i = 0; i < game.size(); i++){
                   ~~^~~~~~~~~~~~~
/in/foo.cc:30:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     else if ((i+2<game.size()) && game[i+2] != game[i+1] && !b1){
               ~~~^~~~~~~~~~~~
/in/foo.cc:36:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     else if ((i+2<game.size()) && game[i+2] == game[i+1] && !b3){
               ~~~^~~~~~~~~~~~
/in/foo.cc:50:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < game.size(); i++)
                  ~~^~~~~~~~~~~~~
/in/foo.cc:22:7: warning: 'b1' may be used uninitialized in this function [-Wmaybe-uninitialized]
  bool b1, b2, b3, b4, b5, b6;
       ^~
# 状态 耗时 内存占用
#1 Accepted 2ms 600.0 KiB
#2 Accepted 2ms 768.0 KiB
#3 Accepted 2ms 336.0 KiB
#4 Accepted 1ms 336.0 KiB
#5 Accepted 1ms 336.0 KiB
#6 Accepted 1ms 336.0 KiB
#7 Wrong Answer 1ms 336.0 KiB
#8 Wrong Answer 1ms 336.0 KiB
#9 Wrong Answer 2ms 336.0 KiB
#10 Wrong Answer 2ms 336.0 KiB

信息

递交者
类型
递交
题目
(lpj 1-3)Shuttle game
比赛
新年 小兰赛2019-1-1
语言
C++
递交时间
2019-01-01 10:56:58
评测时间
2019-01-01 12:59:05
评测机
分数
60
总耗时
20ms
峰值内存
768.0 KiB