Files
python/TangDou/Test.cpp

13 lines
255 B
C++
Raw Normal View History

2025-08-30 18:35:01 +08:00
#include <bits/stdc++.h>
using namespace std;
int main() {
int n, k, i, j;
n = 5, k = 6;
for (i = 0; i < n; i++) {
cout << '+';
for (j = 1; j < k; j++)
cout << '-';
}
cout << '+';
return 0;
}