#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);
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Partially correct |
596 ms |
1756 KB |
Output is partially correct : max_calls = 1270 |
2 |
Partially correct |
616 ms |
1756 KB |
Output is partially correct : max_calls = 1270 |
3 |
Partially correct |
604 ms |
1756 KB |
Output is partially correct : max_calls = 1270 |
4 |
Partially correct |
596 ms |
1756 KB |
Output is partially correct : max_calls = 1270 |
5 |
Partially correct |
604 ms |
1756 KB |
Output is partially correct : max_calls = 1270 |
6 |
Partially correct |
604 ms |
1756 KB |
Output is partially correct : max_calls = 1270 |
7 |
Partially correct |
608 ms |
1756 KB |
Output is partially correct : max_calls = 1270 |
8 |
Partially correct |
604 ms |
1756 KB |
Output is partially correct : max_calls = 1270 |
9 |
Partially correct |
608 ms |
1756 KB |
Output is partially correct : max_calls = 1270 |
10 |
Partially correct |
604 ms |
1756 KB |
Output is partially correct : max_calls = 1270 |
11 |
Partially correct |
600 ms |
1756 KB |
Output is partially correct : max_calls = 1270 |
12 |
Partially correct |
612 ms |
1756 KB |
Output is partially correct : max_calls = 1270 |
13 |
Partially correct |
600 ms |
1756 KB |
Output is partially correct : max_calls = 1270 |
14 |
Partially correct |
604 ms |
1756 KB |
Output is partially correct : max_calls = 1270 |
15 |
Partially correct |
608 ms |
1756 KB |
Output is partially correct : max_calls = 1270 |
16 |
Partially correct |
612 ms |
1756 KB |
Output is partially correct : max_calls = 1270 |
17 |
Partially correct |
608 ms |
1756 KB |
Output is partially correct : max_calls = 1270 |
18 |
Partially correct |
612 ms |
1756 KB |
Output is partially correct : max_calls = 1270 |
19 |
Partially correct |
612 ms |
1756 KB |
Output is partially correct : max_calls = 1270 |
20 |
Partially correct |
692 ms |
1756 KB |
Output is partially correct : max_calls = 1270 |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Execution timed out |
3000 ms |
1752 KB |
Program timed out |
2 |
Halted |
0 ms |
0 KB |
- |