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