# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
234119 | tinjyu | 웜뱃 (IOI13_wombats) | C++14 | 20084 ms | 41848 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 "wombats.h"
#include <iostream>
using namespace std;
long long int h[5005][205],v[5005][205],r,c,dp[5005][200];
void init(int R, int C, int H[5000][200], int V[5000][200]) {
r=R;
c=C;
//cout<<r<<" "<<c<<endl;
for(int i=0;i<r-1;i++)
{
for(int j=0;j<c;j++)
{
v[i][j]=V[i][j];
}
}
for(int i=0;i<r;i++)
{
for(int j=0;j<c-1;j++)h[i][j]=H[i][j];
}
}
void changeH(int P, int Q, int W) {
h[P][Q]=W;
/* ... */
}
void changeV(int P, int Q, int W) {
v[P][Q]=W;
/* ... */
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... |