Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
27388 | yuhengyang | 字符三角形 | C++ | Accepted | 0 MS | 248 KB | 224 | 2023-10-04 12:05:25 |
#include<iostream> #include<cstdio> #include<bits/stdc++.h> using namespace std; int main() { char a; cin>>a; cout<<" "<<a<<" "<<endl; cout<<" "<<a<<a<<a<<" "<<endl; cout<<a<<a<<a<<a<<a<<endl; return 0; }