Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
34480 qwertyuiop 【入门】画正方形 C++ 解答错误 0 MS 252 KB 243 2024-01-07 14:34:39

Tests(9/10):


#include<bits/stdc++.h> using namespace std; int n; char a='A',m='A'; int main(){ cin>>n; for(int i=1;i<=n;i++){ for(int j=1;j<=n;j++){ cout<<m; m++; if(m>'Z')m='A'; } a++; m=a; cout<<"\n"; } return 0; }


测评信息: