| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1336363 | goulthen | Make them Meet (EGOI24_makethemmeet) | C++20 | 0 ms | 344 KiB |
#include <bits/stdc++.h>
using namespace std;
#define rep(i,a,b) for (int i = a; i <= b; i++)
#define per(i,a,b) for (int i = a; i >= b; i--)
#define pb push_back
#define all(v) (v).begin(), (v).end()
const int MAXN = 110;
vector<int> g[MAXN];
int a[MAXN];
int main() {
ios_base::sync_with_stdio(0);cin.tie(nullptr);
int n,m; cin >> n >> m;
rep(i,1,m) {
int u, v; cin >> u >> v;
g[u].pb(v);
g[v].pb(u);
}
cout << n << endl;
rep(j,1,n) {
a[j] = 1;
rep(i,1,n) cout << a[i] << " \n"[i==n];
}
return 0;
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
