# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1000852 | Otalp | Soccer (JOI17_soccer) | C++14 | 466 ms | 67412 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;
#define ll long long
#define int ll
#define pii pair<int, int>
#define ff first
#define ss second
#define pb push_back
int ddp[600][600];
int dp[600][600][3];
int a[600][600];
void solve(){
int n, m;
cin>>n>>m;
int A, B, C;
cin>>A>>B>>C;
int k;
cin>>k;
vector<pii> q;
multiset<pair<int, pii> > ds;
for(int i=1; i<=k; i++){
int l, r;
cin>>l>>r;
q.pb({l, r});
ds.insert({1, {l, r}});
}
vector<pii> nap = {{0, -1}, {0, 1}, {1, 0}, {-1, 0}};
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |