Submission #7597

#TimeUsernameProblemLanguageResultExecution timeMemory
7597jihoon행성 탐사 (GA8_planet)C++98
21.10 / 100
3000 ms1756 KiB
#include "planet.h" void ainta() { int i,j; for(i=1;i<=2210;i+=47){ for(j=2211-i;j<=2210;j+=47){ paint(i,j); } } } void sangsoo(){ int i=-1,j=-1; int gx,gy; for(i=1;i<=2210;i+=47){ for(j=2211-i;j<=2210;j+=47){ count_row(i); } } i=-1,j=-1; do{i++;gy=count_row(i);}while(gy==0); i--; i-=47*(gy-1); i+=2222; i%=2222; do{j++;gx=count_col(j);}while(gx==0); j--; j-=47*(gx-1); j+=2222; j%=2222; report(i,j); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...