# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
426856 | 2021-06-14T10:30:24 Z | markthitrin | Toy Train (IOI17_train) | C++14 | 0 ms | 0 KB |
#include "train.h" std::vector<int> who_wins(std::vector<int> a, std::vector<int> r, std::vector<int> u, std::vector<int> v) { std::vector<int> res(a.size()); long long ans = 1; for(int q = 0 ;q<N*3;q++){ for(int w = 0;w<M;w++){ ans *= ans; } } return res; }