1 条题解
-
0
202507cj01陈梓豪 (陈梓豪1) LV 7 @ 2025-07-24 10:46:49
#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; for(int i=0;i<n;i++) { for(int j=0;j<n;j++) { if(i==j||i+j==n-1) cout<<"+"; else cout<<"-"; } cout<<endl; } return 0; }
- 1
信息
- ID
- 2593
- 难度
- 4
- 分类
- (无)
- 标签
- 递交数
- 190
- 已通过
- 75
- 通过率
- 39%
- 上传者