Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
89376 sh25_shengmy 二维数组打印 C++ Accepted 1 MS 248 KB 304 2026-06-05 14:15:12

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; for(int i=1;i<=10;++i){ for(int j=i;j<=10;++j){ cout<<j<<" "; } for(int j=9;j>=11-i;--j){ cout<<j<<" "; } cout<<endl; } return 0; }


Judgement Protocol: