| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1360935 | kawhiet | Monster-Go (EGOI25_monstergo) | C++20 | 0 ms | 464 KiB |
#include <bits/stdc++.h>
using namespace std;
#ifdef LOCAL
#include "debug.h"
#else
#define dbg(...) 47
#endif
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
vector<set<int>> a;
for (int t = 0; t < 3; t++) {
set<int> s;
for (int j = 0; j < 13; j++) {
s.insert(t * 13 + j);
}
for (int j = 0; j < 13; j++) {
int x = t * 13 + j;
s.erase(x);
a.push_back(s);
s.insert(x);
}
}
int n;
cin >> n;
for (int i = 0; i < n; i++) {
for (auto x : a[i]) {
cout << x << ' ';
}
cout << '\n';
}
return 0;
}| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
