# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
51583 | MatheusLealV | Paint By Numbers (IOI16_paint) | C++17 | 1179 ms | 51900 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 "paint.h"
#include <bits/stdc++.h>
#define N 200050
using namespace std;
int n, k, branco[N], preto[N];
int qbranco(int l, int r)
{
if(!l) return branco[r];
return branco[r] - branco[l - 1];
}
int qpreto(int l, int r)
{
if(!l) return preto[r];
return preto[r] - preto[l - 1];
}
char s[N];
int W[N], B[N];
bool L[N][120], R[N][120];
string solve_puzzle(string S, vector<int> c)
{
n = S.size(), k = c.size();
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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |