# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1174724 | nuutsnoynton | Prosjecni (COCI16_prosjecni) | C++20 | 1 ms | 328 KiB |
#include<bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll n, m, r, x, y, i, j, ans, t, s;
cin >> n;
s = 1;
for (i = 1; i <= n; i ++) {
for (j = 1; j <= n; j ++) {
cout << s << " ";
s ++;
}
cout << "\n";
}
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |