# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
619861 | 2022-08-02T16:39:26 Z | sokratisi | Stations (IOI20_stations) | C++17 | 858 ms | 496 KB |
#include "stations.h" #include <vector> using namespace std; vector<int> label(int n, int k, vector<int> u, vector<int> v) { vector<int> labels(n); for (int i = 0; i < n; i++) { labels[i] = i; } return labels; } int find_next_station(int s, int t, vector<int> c) { int prt; while (t > s) { prt = t; t--; t /= 2; } if (t == s) { return prt; } s--; s/=2; return s; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 539 ms | 416 KB | Wrong query response. |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 450 ms | 416 KB | Output is correct |
2 | Correct | 493 ms | 492 KB | Output is correct |
3 | Correct | 858 ms | 492 KB | Output is correct |
4 | Correct | 645 ms | 420 KB | Output is correct |
5 | Correct | 547 ms | 416 KB | Output is correct |
6 | Correct | 433 ms | 492 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 553 ms | 496 KB | Wrong query response. |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 807 ms | 496 KB | Output is correct |
2 | Incorrect | 652 ms | 420 KB | Wrong query response. |
3 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 482 ms | 484 KB | Wrong query response. |
2 | Halted | 0 ms | 0 KB | - |