Submission #7712

#TimeUsernameProblemLanguageResultExecution timeMemory
7712kriii행성 탐사 (GA8_planet)C++98
67.50 / 100
968 ms1756 KiB
#include "planet.h" void ainta() { for (int i=1;i<=50;i++) paint(i*44,0); for (int i=1;i<=50;i++) paint(0,i*44); } void sangsoo(){ int x[2]; bool f; for (int k=0;k<2;k++){ int &i = x[k]; i = 0; while (1){ int c = ((k == 0) ? count_row(i) : count_col(i)); if (c > 1) break; if (c == 1) f = 1; else f = 0; if (f) i += 44; else i = i - 1; if (i < 0) i += 2222; i %= 2222; } } report(x[0],x[1]); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...