Files
python/TangDou/XiTi/12601.cpp

20 lines
317 B
C++
Raw Normal View History

2025-08-30 18:35:01 +08:00
#include <bits/stdc++.h>
using namespace std;
void printRec(int m, int n) {
for (int i = 0; i < m; ++i) {
for (int j = 0; j < n; ++j) {
cout << "*";
}
cout << endl;
}
}
int main() {
int m, n;
cin >> m >> n;
printRec(m, n);
return 0;
}