#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]);
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Partially correct |
84 ms |
1756 KB |
Output is partially correct : max_calls = 233 |
2 |
Partially correct |
84 ms |
1756 KB |
Output is partially correct : max_calls = 231 |
3 |
Partially correct |
84 ms |
1756 KB |
Output is partially correct : max_calls = 232 |
4 |
Partially correct |
84 ms |
1756 KB |
Output is partially correct : max_calls = 231 |
5 |
Partially correct |
84 ms |
1756 KB |
Output is partially correct : max_calls = 233 |
6 |
Partially correct |
84 ms |
1756 KB |
Output is partially correct : max_calls = 232 |
7 |
Partially correct |
88 ms |
1756 KB |
Output is partially correct : max_calls = 231 |
8 |
Partially correct |
84 ms |
1756 KB |
Output is partially correct : max_calls = 231 |
9 |
Partially correct |
88 ms |
1756 KB |
Output is partially correct : max_calls = 232 |
10 |
Partially correct |
84 ms |
1756 KB |
Output is partially correct : max_calls = 232 |
11 |
Partially correct |
88 ms |
1756 KB |
Output is partially correct : max_calls = 233 |
12 |
Partially correct |
88 ms |
1756 KB |
Output is partially correct : max_calls = 230 |
13 |
Partially correct |
88 ms |
1756 KB |
Output is partially correct : max_calls = 232 |
14 |
Partially correct |
92 ms |
1756 KB |
Output is partially correct : max_calls = 233 |
15 |
Partially correct |
92 ms |
1756 KB |
Output is partially correct : max_calls = 232 |
16 |
Partially correct |
88 ms |
1756 KB |
Output is partially correct : max_calls = 232 |
17 |
Partially correct |
92 ms |
1756 KB |
Output is partially correct : max_calls = 231 |
18 |
Partially correct |
88 ms |
1756 KB |
Output is partially correct : max_calls = 231 |
19 |
Partially correct |
92 ms |
1756 KB |
Output is partially correct : max_calls = 232 |
20 |
Partially correct |
180 ms |
1756 KB |
Output is partially correct : max_calls = 232 |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Partially correct |
828 ms |
1756 KB |
Output is partially correct : max_calls = 233 |
2 |
Partially correct |
828 ms |
1756 KB |
Output is partially correct : max_calls = 233 |
3 |
Partially correct |
836 ms |
1756 KB |
Output is partially correct : max_calls = 233 |
4 |
Partially correct |
848 ms |
1756 KB |
Output is partially correct : max_calls = 233 |
5 |
Partially correct |
900 ms |
1756 KB |
Output is partially correct : max_calls = 233 |
6 |
Partially correct |
848 ms |
1756 KB |
Output is partially correct : max_calls = 233 |
7 |
Partially correct |
856 ms |
1756 KB |
Output is partially correct : max_calls = 233 |
8 |
Partially correct |
864 ms |
1756 KB |
Output is partially correct : max_calls = 233 |
9 |
Partially correct |
868 ms |
1756 KB |
Output is partially correct : max_calls = 233 |
10 |
Partially correct |
888 ms |
1756 KB |
Output is partially correct : max_calls = 233 |
11 |
Partially correct |
256 ms |
1756 KB |
Output is partially correct : max_calls = 232 |
12 |
Partially correct |
876 ms |
1756 KB |
Output is partially correct : max_calls = 233 |
13 |
Partially correct |
880 ms |
1756 KB |
Output is partially correct : max_calls = 233 |
14 |
Partially correct |
888 ms |
1756 KB |
Output is partially correct : max_calls = 233 |
15 |
Partially correct |
904 ms |
1756 KB |
Output is partially correct : max_calls = 233 |
16 |
Partially correct |
968 ms |
1756 KB |
Output is partially correct : max_calls = 233 |
17 |
Partially correct |
896 ms |
1756 KB |
Output is partially correct : max_calls = 233 |
18 |
Partially correct |
912 ms |
1756 KB |
Output is partially correct : max_calls = 233 |
19 |
Partially correct |
912 ms |
1756 KB |
Output is partially correct : max_calls = 233 |
20 |
Partially correct |
908 ms |
1756 KB |
Output is partially correct : max_calls = 233 |
21 |
Partially correct |
912 ms |
1756 KB |
Output is partially correct : max_calls = 233 |
22 |
Partially correct |
920 ms |
1756 KB |
Output is partially correct : max_calls = 233 |
23 |
Partially correct |
928 ms |
1756 KB |
Output is partially correct : max_calls = 233 |