记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:4:15: warning: unused variable 'left' [-Wunused-variable]
    4 |         int n,left,right,max=-2100000000,maxi,x;
      |               ^~~~
foo.cc:4:20: warning: unused variable 'right' [-Wunused-variable]
    4 |         int n,left,right,max=-2100000000,maxi,x;
      |                    ^~~~~
foo.cc:11:19: warning: 'maxi' may be used uninitialized in this function [-Wmaybe-uninitialized]
   11 |         if(maxi==0||maxi==n-1||n%2==0)
      |            ~~~~~~~^~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read Win, expect Lost. 3ms 256.0 KiB
#2 Accepted 3ms 256.0 KiB
#3 Accepted 4ms 256.0 KiB
#4 Accepted 3ms 256.0 KiB
#5 Accepted 3ms 256.0 KiB
#6 Accepted 3ms 256.0 KiB
#7 Accepted 6ms 384.0 KiB
#8 Accepted 9ms 384.0 KiB
#9 Accepted 30ms 256.0 KiB
#10 Wrong Answer Read Win, expect Lost. 45ms 256.0 KiB

信息

递交者
类型
递交
题目
2 取最大数的博弈游戏
比赛
2022暑期青少年社团(告别赛)
语言
C++
递交时间
2022-08-22 13:32:12
评测时间
2022-08-22 13:32:12
评测机
分数
80
总耗时
113ms
峰值内存
384.0 KiB