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

Tests(0/10):


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


测评信息: