|
|
|
|
背景 Background |
|
|
为了for beginngers,特设此题,^_^
|
|
|
|
|
|
|
|
描述 Description |
|
|
X,Y,Z三名观众对田径场上100米决赛预测如下:
X:A能得金牌,B能得银牌.
Y:C能得金牌,D能得第四.
Z:D能得金牌,B能得铜牌.
结果每人都只猜对了一半,求A,B,C,D四名选手的名次.
要求输出格式:输出只有一行:A,B,C,D四名选手的依次的名次,名次间以1空格分开. |
|
|
|
|
|
|
|
输出格式 Output Format |
|
|
要求输出格式:输出只有一行:A,B,C,D四名选手的依次的名次,名次间以1空格分开. |
|
|
|
|
|
|
|
时间限制 Time Limitation |
|
|
各个测试点1s
|
|
|
|
|
|
|
|
注释 Hint |
|
|
Free Pascal Code:
-------------------
program Plus;
var a,b:longint;
begin
readln(a,b);
writeln(a+b);
end.
C++ Code:
-------------------
#include <iostream>
using namespace std;
int main(){
int a,b;
cin>>a>>b;
cout<<a+b<<endl;
return 0;
}
|
|
|
|
|
|
|
|
|
Flag |
|
题号 |
P1534 |
|
模拟 |
通过 |
50人 |
提交 |
168次 |
通过率 |
30% |
难度 |
0 |
|
|
|
|
|
|