Wrong Answer

foo.cc: In function 'int main()':
foo.cc:6:3: warning: statement has no effect [-Wunused-value]
  a>-10000;
  ~^~~~~~~
foo.cc:7:3: warning: statement has no effect [-Wunused-value]
  c<10000;
  ~^~~~~~
foo.cc:8:10: warning: 'a' is used uninitialized in this function [-Wuninitialized]
  cout<<(a+b)*c<<endl;
        ~~^~~
foo.cc:8:10: warning: 'b' is used uninitialized in this function [-Wuninitialized]
foo.cc:8:14: warning: 'c' is used uninitialized in this function [-Wuninitialized]
  cout<<(a+b)*c<<endl;
              ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 9. 1ms 384.0 KiB
#2 Wrong Answer Read 0, expect 456831. 1ms 384.0 KiB
#3 Wrong Answer Read 0, expect -119988. 1ms 384.0 KiB
#4 Wrong Answer Read 0, expect 30250971. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P2311 1.3.2:计算(a+b)*c的值
比赛
初二开学分层赛
语言
C++
递交时间
2021-09-01 13:43:03
评测时间
2021-09-01 13:43:03
评测机
分数
0
总耗时
7ms
峰值内存
384.0 KiB