Submission #7713

#TimeUsernameProblemLanguageResultExecution timeMemory
7713kriii행성 탐사 (GA8_planet)C++98
65.70 / 100
888 ms1756 KiB
#include "planet.h" void ainta() { for (int i=1;i<=40;i++) paint(i*55,0); for (int i=1;i<=40;i++) paint(0,i*55); } 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 += 55; 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...