Wrong Answer

foo.cc: In function 'int main()':
foo.cc:6:11: warning: right operand of comma operator has no effect [-Wunused-value]
    6 |  cin>>a,b,c,d;
      |           ^
foo.cc:6:13: warning: right operand of comma operator has no effect [-Wunused-value]
    6 |  cin>>a,b,c,d;
      |             ^
foo.cc:6:14: warning: right operand of comma operator has no effect [-Wunused-value]
    6 |  cin>>a,b,c,d;
      |              ^
foo.cc:7:9: warning: 'b' is used uninitialized in this function [-Wuninitialized]
    7 |  cout<<a+b+c+d;
      |        ~^~
foo.cc:7:11: warning: 'c' is used uninitialized in this function [-Wuninitialized]
    7 |  cout<<a+b+c+d;
      |        ~~~^~
foo.cc:7:14: warning: 'd' is used uninitialized in this function [-Wuninitialized]
    7 |  cout<<a+b+c+d;
      |              ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 2, expect 8. 2ms 384.0 KiB
#2 Wrong Answer Read 1000, expect 1000000000000. 2ms 384.0 KiB
#3 Wrong Answer Read 15, expect 45600. 4ms 512.0 KiB
#4 Accepted 3ms 384.0 KiB
#5 Wrong Answer Read 159, expect 11875954860. 3ms 384.0 KiB

信息

递交者
类型
递交
题目
P1694 道路千万条
语言
C++
递交时间
2022-06-13 09:30:51
评测时间
2022-06-13 09:30:51
评测机
分数
20
总耗时
16ms
峰值内存
512.0 KiB