记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:42:22: warning: 'rindex' may be used uninitialized in this function [-Wmaybe-uninitialized]
  if(abs(lindex - (n-1-rindex) % 2 != 0))
                  ~~~~^~~~~~~~
/in/foo.cc:42:40: warning: 'lindex' may be used uninitialized in this function [-Wmaybe-uninitialized]
  if(abs(lindex - (n-1-rindex) % 2 != 0))
                                        ^
# 状态 耗时 内存占用
#1 Accepted 1ms 204.0 KiB
#2 Accepted 1ms 312.0 KiB
#3 Accepted 1ms 316.0 KiB
#4 Accepted 1ms 204.0 KiB
#5 Accepted 2ms 316.0 KiB
#6 Accepted 3ms 316.0 KiB
#7 Accepted 4ms 460.0 KiB
#8 Accepted 8ms 572.0 KiB
#9 Accepted 17ms 820.0 KiB
#10 Wrong Answer 30ms 1.195 MiB

信息

递交者
类型
递交
题目
2 取最大数的博弈游戏
比赛
小兰赛 2018/12/2
语言
C++
递交时间
2018-12-02 11:56:50
评测时间
2018-12-02 11:56:50
评测机
分数
90
总耗时
72ms
峰值内存
1.195 MiB