|
|
|
|
背景 Background |
|
|
为了for beginngers,特设此题,^_^
|
|
|
|
|
|
|
|
描述 Description |
|
|
打印图形,倒立的数字金字塔. |
|
|
|
|
|
|
|
输入格式 Input Format |
|
|
一个数n,表示输出n行。(1<n<10)
|
|
|
|
|
|
|
|
输出格式 Output Format |
|
|
n行的倒立数字金字塔。
|
|
|
|
|
|
|
|
时间限制 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 |
|
题号 |
P1035 |
|
其它 |
通过 |
90人 |
提交 |
362次 |
通过率 |
25% |
难度 |
0 |
|
|
|
|
|
|