# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1067989 | sleepntsheep | Wombats (IOI13_wombats) | C++17 | 10989 ms | 34948 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 <cstdio>
#include <cstdlib>
#include <algorithm>
#include <cstring>
#include <vector>
#include <cassert>
using namespace std;
#include "wombats.h"
#pragma GCC optimize("O3,unroll-loops")
#ifndef ROW
#define ROW 5000
#endif
constexpr int B = 1000;
int r, c, h[ROW][100], v[ROW + 1][100];
int L[9999], R[9999], By[9999];
int a[100][100][100];
int ans[100][100];
void calc(int blk) {
for (int ii = 0; ii < c; ++ii) {
static int dp[2][100];
/* find answer for (V1, V2) where V1 = ii */
memset(dp[0], 63, sizeof dp[0]);
dp[0][ii] = 0;
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... |