Wrong Answer

foo.cc: In function 'int main()':
foo.cc:6:17: warning: unused variable 'leap' [-Wunused-variable]
    6 |         int x,y,leap=0;cin>>x;
      |                 ^~~~
foo.cc:12:15: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized]
   12 |         cout<<y;
      |               ^
foo.cc:6:15: note: 'y' was declared here
    6 |         int x,y,leap=0;cin>>x;
      |               ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -521217052, expect -92. 2ms 284.0 KiB
#2 Wrong Answer Read -52695031, expect 9. 1ms 284.0 KiB
#3 Wrong Answer Read -1437522904, expect 717352. 2ms 332.0 KiB
#4 Wrong Answer Read 1065439418, expect 6458. 2ms 284.0 KiB
#5 Wrong Answer Read -641882511, expect 72817. 2ms 284.0 KiB
#6 Wrong Answer Read -1961051668, expect 3060204. 2ms 336.0 KiB
#7 Wrong Answer Read -2005616153, expect -729. 2ms 284.0 KiB
#8 Wrong Answer Read -75697286, expect -2000006. 2ms 284.0 KiB
#9 Wrong Answer Read -923783888, expect -68109008. 2ms 332.0 KiB
#10 Wrong Answer Read 306457521, expect -9295. 2ms 284.0 KiB

信息

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