Wrong Answer

foo.cc: In function 'int main()':
foo.cc:27:13: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized]
   27 |         if(s%2==1&&ss%2==1) cout<<"Win";
      |            ~^~
foo.cc:26:11: warning: 'maxs' may be used uninitialized in this function [-Wmaybe-uninitialized]
   26 |         ss=n-maxs;
      |         ~~^~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 256.0 KiB
#2 Wrong Answer Read Lost, expect Win. 2ms 256.0 KiB
#3 Accepted 4ms 256.0 KiB
#4 Wrong Answer Read Lost, expect Win. 3ms 256.0 KiB
#5 Wrong Answer Read Lost, expect Win. 3ms 256.0 KiB
#6 Accepted 3ms 256.0 KiB
#7 Accepted 8ms 384.0 KiB
#8 Accepted 13ms 384.0 KiB
#9 Accepted 25ms 504.0 KiB
#10 Accepted 32ms 760.0 KiB

信息

递交者
类型
递交
题目
P1218 2 取最大数的博弈游戏
语言
C++
递交时间
2022-08-21 21:34:13
评测时间
2022-08-21 21:34:13
评测机
分数
70
总耗时
101ms
峰值内存
760.0 KiB