Wrong Answer

foo.cc: In function 'int main()':
foo.cc:29:23: warning: 'e' may be used uninitialized [-Wmaybe-uninitialized]
   29 |                 cout<<e;
      |                       ^
foo.cc:5:21: note: 'e' was declared here
    5 |         int a,b,c,d,e;
      |                     ^
foo.cc:24:23: warning: 'd' may be used uninitialized [-Wmaybe-uninitialized]
   24 |                 cout<<d;
      |                       ^
foo.cc:5:19: note: 'd' was declared here
    5 |         int a,b,c,d,e;
      |                   ^
foo.cc:19:23: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized]
   19 |                 cout<<c;
      |                       ^
foo.cc:5:17: note: 'c' was declared here
    5 |         int a,b,c,d,e;
      |                 ^
foo.cc:14:23: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized]
   14 |                 cout<<b;
      |                       ^
foo.cc:5:15: note: 'b' was declared here
    5 |         int a,b,c,d,e;
      |               ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 00011584559768, expect 0. 3ms 412.0 KiB
#2 Wrong Answer Read 101-626079352, expect 1. 4ms 412.0 KiB
#3 Wrong Answer Read 0341816808600, expect 34. 4ms 412.0 KiB
#4 Wrong Answer Read 0015-1019855016, expect 15. 4ms 316.0 KiB
#5 Wrong Answer Read 001186788456, expect 170. 3ms 412.0 KiB

信息

递交者
类型
递交
题目
P1021 分段函数
语言
C++
递交时间
2023-11-25 21:54:12
评测时间
2023-11-25 21:54:12
评测机
分数
0
总耗时
20ms
峰值内存
412.0 KiB