Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:6:18: warning: right operand of comma operator has no effect [-Wunused-value]
    6 |         cin>>a,b,c;
      |                  ^
foo.cc:6:19: warning: right operand of comma operator has no effect [-Wunused-value]
    6 |         cin>>a,b,c;
      |                   ^
foo.cc:7:15: warning: ‘b’ is used uninitialized [-Wuninitialized]
    7 |         cout<<b;
      |               ^
foo.cc:5:15: note: ‘b’ was declared here
    5 |         int a,b,c;
      |               ^
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 2. 2ms 536.0 KiB
#2 Wrong Answer Read 0, expect 456. 2ms 324.0 KiB
#3 Wrong Answer Read 0, expect 158964566333333. 2ms 324.0 KiB
#4 Wrong Answer Read 0, expect 9999999999999999. 2ms 764.0 KiB

信息

递交者
类型
递交
题目
P2241 1.1.2输出第二个整数
语言
C++
递交时间
2024-05-04 21:31:41
评测时间
2024-05-04 21:31:41
评测机
分数
0
总耗时
9ms
峰值内存
764.0 KiB