# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
28317 | 2017-07-16T04:39:36 Z | :thinking_face:(#1137, zych1751, Acka, suzy) | 1-Color Coloring (FXCUP2_coloring) | C++ | 0 ms | 1120 KB |
#include "coloring.h" void ColoringSame(int N) { int s = GetColor(1); if(s == N) return; int start = N; for(int i = 1; i < N; i++) { Color(i); int cur = GetColor(1); if(cur > s) { start = i; break; } } for(int i = 1; i <= N; i++) { Color(start); start++; if(start > N) start -= N; } }
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 1120 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |