This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include "planet.h"
void ainta() {
for (int i=1;i<101;i++) paint(i*22,0);
for (int i=1;i<101;i++) paint(0,i*22);
}
void sangsoo(){
int i,j;
for (i=0;;i++) if (count_row(i) == 1) break;
for (;;i=(i+22)%2222) if (count_row(i) != 1) break;
for (j=0;;j++) if (count_col(j) == 1) break;
for (;;j=(j+22)%2222) if (count_col(j) != 1) break;
report(i,j);
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |