Submission #400645

#TimeUsernameProblemLanguageResultExecution timeMemory
400645ioiTraffic (IOI10_traffic)C++14
0 / 100
2 ms204 KiB
#include "traffic.h" #include<bits/stdc++.h> using namespace std ; int LocateCentre(int N, int pp[], int S[], int D[]) { int mx = 1e9 + 9 ; mx = 0 ; for(int i = 0 ; i < N ; i ++) mx = max(mx , pp[i]); for(int i = 0 ; i < N ; i ++) if(mx == pp[i])return i ; return N/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...