Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:33:29: warning: ‘ans1’ may be used uninitialized [-Wmaybe-uninitialized]
   33 |                 cout<<ans1<<' '<<ans2<<' ';
      |                             ^~~
foo.cc:23:21: note: ‘ans1’ was declared here
   23 |                 int ans1,ans2;
      |                     ^~~~
foo.cc:33:40: warning: ‘ans2’ may be used uninitialized [-Wmaybe-uninitialized]
   33 |                 cout<<ans1<<' '<<ans2<<' ';
      |                                        ^~~
foo.cc:23:26: note: ‘ans2’ was declared here
   23 |                 int ans1,ans2;
      |                          ^~~~
# 状态 耗时 内存占用
#1 Wrong Answer Read 316, expect 15. 5ms 536.0 KiB
#2 Wrong Answer Read 316, expect 15. 4ms 536.0 KiB
#3 Wrong Answer Read 58, expect 15. 3ms 764.0 KiB
#4 Wrong Answer Read 58, expect 15. 2ms 536.0 KiB
#5 Wrong Answer Read 18, expect 8. 11ms 576.0 KiB
#6 Wrong Answer Read 18, expect 8. 22ms 576.0 KiB
#7 Wrong Answer Read 18, expect 8. 427ms 536.0 KiB
#8 Wrong Answer Read 18, expect 8. 2738ms 636.0 KiB
#9 Wrong Answer Read 18, expect 8. 3235ms 656.0 KiB
#10 Wrong Answer Read 18, expect 8. 3678ms 656.0 KiB

信息

递交者
类型
递交
比赛
2024CSP模拟赛2
语言
C++
递交时间
2024-10-05 15:11:18
评测时间
2024-10-05 15:11:18
评测机
分数
0
总耗时
10129ms
峰值内存
764.0 KiB