mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2025-02-17 15:06:51 +00:00
B2005 字符三角形
R52395350
This commit is contained in:
parent
b3dd64d10e
commit
c7117e9d2b
12
Luogu/problem/B2005/B2005.cpp
Normal file
12
Luogu/problem/B2005/B2005.cpp
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#include <bits/stdc++.h>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
char c;
|
||||||
|
cin >> c;
|
||||||
|
cout << " " << c << endl
|
||||||
|
<< " " << c << c << c << endl
|
||||||
|
<< c << c << c << c << c << endl;
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user