0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-09-16 20:05:26 +00:00
Baoshuo Ren 2021-10-02 14:31:36 +08:00 committed by Baoshuo Ren
parent 6dcb3facc8
commit 122daa2ef8
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

16
AcWing/723/723.cpp Normal file
View File

@ -0,0 +1,16 @@
#include <bits/stdc++.h>
using namespace std;
int n, m, c;
int main() {
cin >> n >> m;
for (int i = 1; i <= n; i++, c++) {
for (int j = 1; j < m; j++) {
cout << ++c << ' ';
}
cout << "PUM" << endl;
}
return 0;
}