Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
21074 | 202102bxy | 星号等腰三角形 | C++ | Compile Error | 0 | 0 MS | 0 KB | 247 | 2021-06-26 15:04:26 |
#include<bits/stdc++.h> using namespace std; int main{ int n,a,k; cin>>n; for(int i=n-1;i>=1;i--){ k=n-1; k=" "; cout<<k<<endl; k-1; } for(int i=1;i<=n;i++){ a=1; a="*"; cout<<a<<endl; a+=2; } return 0; }