Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
34403 | 戰無不勝的毛澤東思想萬歲! | 【入门】画正方形 | C++ | 通过 | 0 MS | 252 KB | 271 | 2024-01-07 11:13:24 |
#include <bits/stdc++.h> using namespace std; int main(){ string a="ABCDEFGHIJKLMNOPQRSTUVWXYZ"; int x,js=0,js2=0; cin>>x; for(int i=0;i<x;i++){ js=js2; for(int j=0;j<x;j++){ cout<<a[js%26]; js++; } js2++; cout<<endl; } return 0; }