# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
751662 | Warinchai | Voting Cities (NOI22_votingcity) | C++14 | 140 ms | 10332 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include<bits/stdc++.h>
using namespace std;
vector<pair<int,long long> >g[5005];
long long dis[5005][2][2][2][2][2];
struct info{
int one,two,three,four,five;
bool operator<(const info &x)const
{
if(one==x.one){
if(two==x.two){
if(three==x.three){
if(four==x.four){
return five<x.five;
}else{
return four<x.four;
}
}else{
return three<x.three;
}
}else{
return two<x.two;
}
}else{
return one<x.one;
}
}
};
int main(){
ios_base::sync_with_stdio(false);
cin.tie(0);
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |