# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
432752 |
2021-06-18T13:07:50 Z |
A_D |
Stations (IOI20_stations) |
C++14 |
|
890 ms |
520 KB |
#include "stations.h"
#include <bits/stdc++.h>
using namespace std;
vector<int> label(int n, int k,vector<int> u,vector<int> v){
vector<int> ret;
for(int i=1;i<=n;i++)ret.push_back(i);
return ret;
}
int find_next_station(int s, int t,vector<int> c){
int mx=0,mn=1e9;
for(auto x:c){
mn=min(mn,x);
mx=max(mx,x);
}
if(s<t)return mx;
else return mn;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
568 ms |
484 KB |
Wrong query response. |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
450 ms |
400 KB |
Wrong query response. |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
516 ms |
428 KB |
Wrong query response. |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
890 ms |
400 KB |
Output is correct |
2 |
Incorrect |
621 ms |
520 KB |
Wrong query response. |
3 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
516 ms |
488 KB |
Wrong query response. |
2 |
Halted |
0 ms |
0 KB |
- |