# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
546432 | 2022-04-07T14:24:49 Z | blue | Pipes (CEOI15_pipes) | C++17 | 0 ms | 0 KB |
#include <iostream> using namespace std; const int mx = 100'000; using vi = vector<int>; int main() { vi edge[1+mx]; for(int i = 1; i < mx; i++) { edge[i].push_back(i+1); edge[i+1].push_back(i); } }