Wrong Answer

foo.cc: In function 'int main()':
foo.cc:6:6: warning: statement has no effect [-Wunused-value]
     b==n/100;
     ~^~~~~~~
foo.cc:7:6: warning: statement has no effect [-Wunused-value]
     c==(n-b*100)/10;
     ~^~~~~~~~~~~~~~
foo.cc:8:6: warning: statement has no effect [-Wunused-value]
     d==n%10;
     ~^~~~~~
foo.cc:9:12: warning: 'd' is used uninitialized in this function [-Wuninitialized]
     cout<<d*100+c*10+b<<endl;
           ~^~~~
foo.cc:9:18: warning: 'c' is used uninitialized in this function [-Wuninitialized]
     cout<<d*100+c*10+b<<endl;
                 ~^~~
foo.cc:9:22: warning: 'b' is used uninitialized in this function [-Wuninitialized]
     cout<<d*100+c*10+b<<endl;
                      ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 100. 1ms 384.0 KiB
#2 Wrong Answer Read 0, expect 050. 1ms 336.0 KiB
#3 Wrong Answer Read 0, expect 789. 2ms 384.0 KiB
#4 Wrong Answer Read 0, expect 999. 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P2322 1.3.13:反向输出一个三位数
比赛
初二开学分层赛
语言
C++
递交时间
2021-09-01 13:54:14
评测时间
2021-09-01 13:54:14
评测机
分数
0
总耗时
7ms
峰值内存
384.0 KiB