| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1362610 | opeleklanos | Magic Show (APIO24_show) | C++20 | 2 ms | 1092 KiB |
#include <iostream>
#include <vector>
using namespace std;
#include "Alice.h"
#define ll long long
vector<pair<int, int>> Alice(){
ll x = setN(5000);
vector<pair<int, int>> ans;
for(ll i = 1; i<=5000; i++){
if(i!=x) ans.push_back({x, i});
}
return ans;
}#include <iostream>
#include <vector>
using namespace std;
#include "Bob.h"
#define ll long long
long long Bob(vector<pair<int, int>> edges){
ll a = edges[0].first;
ll b = edges[0].second;
ll c = edges[1].first;
ll d = edges[1].second;
if(a == c) return a;
if(b == c) return b;
if(a == d) return a;
if(b == d) return b;
}Compilation message (stderr)
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
