# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
988881 | lo0ker | Poi (IOI09_poi) | C++17 | 204 ms | 24000 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.
// source : https://dmoj.ca/problem/ioi09p3
#include <bits/stdc++.h>
using namespace std;
#define sz(v) ((int)(v).size)
#define all(v) (v).begin(), (v).end()
using ll = long long;
using pii = pair<int, int>;
using vi = vector<int>;
const long long INF = 1e17;
const int MOD = 1e9+7;
struct con{
int all_score;
int num_solved;
int id;
bool operator<(const con& b){
if(all_score != b.all_score){
return all_score > b.all_score;
}
if(num_solved != b.num_solved){
return num_solved > b.num_solved;
}
return id < b.id;
}
};
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |