| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 315882 | xiang | 星号三角阵(三) T2 | C++ | Wrong Answer | 5 MS | 696 KB | 406 | 2026-04-14 18:24:38 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; if(n=3){ cout<<"*"<<"*"<<"*"<<endl; cout<<" "<<"*"<<"*"<<endl; cout<<" "<<" "<<"*"<<endl; } else if(n=4){ cout<<"*"<<"*"<<"*"<<"*"<<endl; cout<<" "<<"*"<<"*"<<"*"<<endl; cout<<" "<<" "<<"*"<<"*"<<endl; cout<<" "<<" "<<" "<<"*"<<endl; } }