Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
34481 我要进前十(黄泽远) 【入门】画正方形 C++ 通过 0 MS 248 KB 249 2024-01-07 14:36:24

Tests(10/10):


#include "iostream" using namespace std; int main(){ int a=0; int n; cin>>n; for(int i=0;i<n;i++){ char b='A'; b+=a%26; for(int j=0;j<n;j++){ if(b>'Z')b='A'; cout<<b; b++; } cout<<'\n'; a++; } return 0; }


测评信息: