Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
41692 lmz120809 写个“2” C++ 编译错误 0 MS 0 KB 279 2024-02-23 09:24:05

Tests(0/0):


#include<iostream> using namespace std; int main() { for(int i=1;i<=n;i++){ cout<<"*"; } cout<<endl; for(int i=2;i<=n-1;i++){ for(int j=1;j<=n-i;j++){ cout<<" "; } cout<<"*"; cout<<endl; } for(int i=1;i<=n;i++){ cout<<"*"; } return 0; }


测评信息: