# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
592077 | yutabi | Paint By Numbers (IOI16_paint) | C++14 | 73 ms | 21440 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>
using namespace std;
#define pb push_back
std::string solve_puzzle(std::string s, std::vector<int> c)
{
s='_'+s+'_';
vector <vector <bool> > DP_l(100007,vector <bool> (107,0));
vector <vector <bool> > DP_r(100007,vector <bool> (107,0));
vector <vector <bool> > DP3(100007,vector <bool> (107,0));
vector <int> next_l;
vector <int> next_r;
int curr;
for(int i=s.size()-1;i>=0;i--)
{
if(s[i]=='_')
{
curr=i;
}
next_l.pb(curr);
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... |