2946 钻石钻石亮晶晶
#include<bits/stdc++.h> #define f(i,s,e) for(int i = s; i <= e; i++) #define ll long long using namespace std; const int N = 1e3+10,inf = 0x3f3f3f3f; int main() { char c; cin >> c; cout << " " << " " << c << endl; cout << " " << c << c << c << endl; cout << c << c << c << c << c << endl; cout << " " << c << c << c << endl; cout << " " << " " << c << endl; return 0; }

浙公网安备 33010602011771号