# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
28306 | 2017-07-16T04:34:55 Z | :thinking_face:(#1137, zych1751, Acka, suzy) | 1-Color Coloring (FXCUP2_coloring) | C++11 | 0 ms | 1120 KB |
#include "coloring.h" void ColoringSame(int N) { int s = GetColor(1); if(s == N) return; int start; 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; } }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 1120 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |