Submission #1076613

#TimeUsernameProblemLanguageResultExecution timeMemory
1076613mindiyakStations (IOI20_stations)C++14
8 / 100
631 ms684 KiB
#include "stations.h" #include <vector> #include <queue> using namespace std; std::vector<int> label(int n, int k, std::vector<int> u, std::vector<int> v) { std::vector<int> labels(n); for (int i = 0; i < n; i++) { labels[i] = i; } return labels; } int find_next_station(int s, int t, std::vector<int> c) { if(s>t)return (s-1)/2; while(s<(t-1)/2)t = (t-1)/2; if ((t-1)/2 == s) return t; return (s-1)/2; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...