# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
28423 | Sorry AcornCkiGuiziTeam (#68) | 1-Color Coloring (FXCUP2_coloring) | C++14 | 0 ms | 1124 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 "coloring.h"
#include <algorithm>
using namespace std;
int a[101];
void ColoringSame(int N){
int i, j, k;
for (i = 1; i <= N; i++) a[i] = i;
random_shuffle(a + 1, a + N + 1);
for (i = 2; i <= N; i++) {
Color(i);
if (!GetColor(1)) break;
}
for (j = 0; j < 70; j++) for (k = 1; k <= N; k++) if (a[k] != i) Color(a[k]);
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |