# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
151616 | OptxPrime | Hokej (COCI17_hokej) | C++11 | 217 ms | 23168 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.
#pragma GCC optimize("O3")
#include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define mp make_pair
#define ll long long
/// 9 12
struct player{
int k,e,id;
player(){}
player( int k, int e,int id ):k(k),e(e),id(id){}
} p[500010];
vector<pair<int,int>> event[500010];
bool cmp( player a, player b )
{
if( a.k != b.k ) return a.k>b.k;
return a.e<b.e;
}
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int n,m;
cin>>m>>n;
for(int i=0;i<n;i++){
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |