#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]);
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Partially correct |
72 ms |
1756 KB |
Output is partially correct : max_calls = 255 |
2 |
Partially correct |
80 ms |
1756 KB |
Output is partially correct : max_calls = 257 |
3 |
Partially correct |
80 ms |
1756 KB |
Output is partially correct : max_calls = 256 |
4 |
Partially correct |
76 ms |
1756 KB |
Output is partially correct : max_calls = 255 |
5 |
Partially correct |
80 ms |
1756 KB |
Output is partially correct : max_calls = 257 |
6 |
Partially correct |
84 ms |
1756 KB |
Output is partially correct : max_calls = 256 |
7 |
Partially correct |
76 ms |
1756 KB |
Output is partially correct : max_calls = 255 |
8 |
Partially correct |
80 ms |
1756 KB |
Output is partially correct : max_calls = 255 |
9 |
Partially correct |
84 ms |
1756 KB |
Output is partially correct : max_calls = 256 |
10 |
Partially correct |
84 ms |
1756 KB |
Output is partially correct : max_calls = 256 |
11 |
Partially correct |
84 ms |
1756 KB |
Output is partially correct : max_calls = 255 |
12 |
Partially correct |
84 ms |
1756 KB |
Output is partially correct : max_calls = 254 |
13 |
Partially correct |
84 ms |
1756 KB |
Output is partially correct : max_calls = 256 |
14 |
Partially correct |
84 ms |
1756 KB |
Output is partially correct : max_calls = 256 |
15 |
Partially correct |
84 ms |
1756 KB |
Output is partially correct : max_calls = 254 |
16 |
Partially correct |
84 ms |
1756 KB |
Output is partially correct : max_calls = 254 |
17 |
Partially correct |
84 ms |
1756 KB |
Output is partially correct : max_calls = 256 |
18 |
Partially correct |
84 ms |
1756 KB |
Output is partially correct : max_calls = 255 |
19 |
Partially correct |
84 ms |
1756 KB |
Output is partially correct : max_calls = 254 |
20 |
Partially correct |
172 ms |
1756 KB |
Output is partially correct : max_calls = 256 |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Partially correct |
792 ms |
1756 KB |
Output is partially correct : max_calls = 257 |
2 |
Partially correct |
792 ms |
1756 KB |
Output is partially correct : max_calls = 257 |
3 |
Partially correct |
804 ms |
1756 KB |
Output is partially correct : max_calls = 257 |
4 |
Partially correct |
888 ms |
1756 KB |
Output is partially correct : max_calls = 257 |
5 |
Partially correct |
828 ms |
1756 KB |
Output is partially correct : max_calls = 257 |
6 |
Partially correct |
812 ms |
1756 KB |
Output is partially correct : max_calls = 257 |
7 |
Partially correct |
820 ms |
1756 KB |
Output is partially correct : max_calls = 257 |
8 |
Partially correct |
816 ms |
1756 KB |
Output is partially correct : max_calls = 257 |
9 |
Partially correct |
812 ms |
1756 KB |
Output is partially correct : max_calls = 257 |
10 |
Partially correct |
824 ms |
1756 KB |
Output is partially correct : max_calls = 256 |
11 |
Partially correct |
244 ms |
1756 KB |
Output is partially correct : max_calls = 256 |
12 |
Partially correct |
840 ms |
1756 KB |
Output is partially correct : max_calls = 257 |
13 |
Partially correct |
848 ms |
1756 KB |
Output is partially correct : max_calls = 256 |
14 |
Partially correct |
848 ms |
1756 KB |
Output is partially correct : max_calls = 257 |
15 |
Partially correct |
856 ms |
1756 KB |
Output is partially correct : max_calls = 257 |
16 |
Partially correct |
848 ms |
1756 KB |
Output is partially correct : max_calls = 256 |
17 |
Partially correct |
856 ms |
1756 KB |
Output is partially correct : max_calls = 257 |
18 |
Partially correct |
860 ms |
1756 KB |
Output is partially correct : max_calls = 257 |
19 |
Partially correct |
860 ms |
1756 KB |
Output is partially correct : max_calls = 257 |
20 |
Partially correct |
868 ms |
1756 KB |
Output is partially correct : max_calls = 257 |
21 |
Partially correct |
872 ms |
1756 KB |
Output is partially correct : max_calls = 256 |
22 |
Partially correct |
876 ms |
1756 KB |
Output is partially correct : max_calls = 257 |
23 |
Partially correct |
880 ms |
1756 KB |
Output is partially correct : max_calls = 257 |