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 "squares.h"
#include <bits/stdc++.h>
using namespace std;
vector<int> paint(int n) {
vector<int> ret(n+1,1);
ret[n]=n;
return ret;
}
int find_location(int n,vector<int> c) {
int ret=0;
for(int i=n-1;i>=0;i--) {
if (c[i]!=-1) {
break;
}
ret++;
}
return ret;
}
# | 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... |