| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1226139 | bynix | Treasure (IOI24_treasure) | C++20 | 76 ms | 3076 KiB |
#include "bits/stdc++.h"
#include "treasure.h"
using namespace std;
vector<int> encode(vector<pair<int, int>> P){
vector<int> ans;
for (auto &e: P) ans.push_back(e.first * 10000 + e.second);
return ans;
}
vector<pair<int, int>> decode(vector<int> S){
vector<pair<int, int>> ans;
for (auto &e: S) ans.push_back({e/10000, e%10000});
return ans;
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
