# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
743480 | MohamedAhmed04 | Akcija (COCI21_akcija) | C++17 | 683 ms | 524288 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 ;
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count()) ;
long long rand(long long l , long long r)
{
return uniform_int_distribution<long long>(l , r)(rng) ;
}
const int MAX = 2010 ;
int arr[MAX] ;
int n , k ;
vector< pair<int , int> >vp ;
vector< array<long long , 3> >dp[MAX][MAX] ;
bool cmp(array<long long , 3>&a , array<long long , 3>&b)
{
if(a[0] != b[0])
return (a[0] > b[0]) ;
else
return (a[1] < b[1]) ;
}
long long val[MAX] ;
int main()
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... |