Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:12: warning: right operand of comma operator has no effect [-Wunused-value]
  cin>>s,r1,r2; 
            ^~
/in/foo.cc:7:14: warning: right operand of comma operator has no effect [-Wunused-value]
  cin>>s,r1,r2; 
              ^
/in/foo.cc:8:4: warning: 'r1' is used uninitialized in this function [-Wuninitialized]
  r2=s*2-r1;
  ~~^~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 356.0 KiB
#2 Wrong Answer 1ms 328.0 KiB
#3 Wrong Answer 1ms 360.0 KiB
#4 Wrong Answer 1ms 352.0 KiB
#5 Wrong Answer 1ms 376.0 KiB
#6 Wrong Answer 1ms 380.0 KiB
#7 Wrong Answer 1ms 336.0 KiB
#8 Wrong Answer 1ms 324.0 KiB
#9 Wrong Answer 1ms 332.0 KiB
#10 Wrong Answer 1ms 376.0 KiB

信息

递交者
类型
递交
题目
P1690 R2
语言
C++
递交时间
2024-11-02 07:52:44
评测时间
2024-11-02 07:52:44
评测机
分数
0
总耗时
14ms
峰值内存
380.0 KiB