Wrong Answer

foo.cc: In function 'int main()':
foo.cc:12:15: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized]
   12 |         cout<<y;
      |               ^
foo.cc:5:11: note: 'y' was declared here
    5 |     int n,y;
      |           ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1236519396, expect -92. 2ms 328.0 KiB
#2 Wrong Answer Read 223940617, expect 9. 1ms 284.0 KiB
#3 Wrong Answer Read 146930728, expect 717352. 2ms 284.0 KiB
#4 Wrong Answer Read -1163376198, expect 6458. 2ms 284.0 KiB
#5 Wrong Answer Read 2001170033, expect 72817. 2ms 284.0 KiB
#6 Wrong Answer Read 491440620, expect 3060204. 1ms 284.0 KiB
#7 Wrong Answer Read -492821401, expect -729. 2ms 284.0 KiB
#8 Wrong Answer Read -741497990, expect -2000006. 2ms 284.0 KiB
#9 Wrong Answer Read -217436880, expect -68109008. 2ms 284.0 KiB
#10 Wrong Answer Read 1924131761, expect -9295. 2ms 332.0 KiB

信息

递交者
类型
递交
比赛
2023.5.20中级班期中测试赛
语言
C++
递交时间
2023-05-20 08:18:22
评测时间
2023-05-20 08:18:22
评测机
分数
0
总耗时
21ms
峰值内存
332.0 KiB