답안 #7711

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
7711 2014-08-15T13:32:57 Z kriii 행성 탐사 (GA8_planet) C++
68 / 100
944 ms 1756 KB
#include "planet.h"

void ainta() {
	for (int i=1;i<=55;i++) paint(i*40,0);
	for (int i=1;i<=55;i++) paint(0,i*40);
}

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 += 40;
			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 = 227
2 Partially correct 80 ms 1756 KB Output is partially correct : max_calls = 226
3 Partially correct 84 ms 1756 KB Output is partially correct : max_calls = 221
4 Partially correct 88 ms 1756 KB Output is partially correct : max_calls = 227
5 Partially correct 88 ms 1756 KB Output is partially correct : max_calls = 226
6 Partially correct 88 ms 1756 KB Output is partially correct : max_calls = 225
7 Partially correct 88 ms 1756 KB Output is partially correct : max_calls = 220
8 Partially correct 88 ms 1756 KB Output is partially correct : max_calls = 227
9 Partially correct 88 ms 1756 KB Output is partially correct : max_calls = 226
10 Partially correct 88 ms 1756 KB Output is partially correct : max_calls = 224
11 Partially correct 84 ms 1756 KB Output is partially correct : max_calls = 220
12 Partially correct 88 ms 1756 KB Output is partially correct : max_calls = 227
13 Partially correct 92 ms 1756 KB Output is partially correct : max_calls = 226
14 Partially correct 92 ms 1756 KB Output is partially correct : max_calls = 224
15 Partially correct 88 ms 1756 KB Output is partially correct : max_calls = 219
16 Partially correct 92 ms 1756 KB Output is partially correct : max_calls = 227
17 Partially correct 92 ms 1756 KB Output is partially correct : max_calls = 225
18 Partially correct 92 ms 1756 KB Output is partially correct : max_calls = 223
19 Partially correct 92 ms 1756 KB Output is partially correct : max_calls = 218
20 Partially correct 176 ms 1756 KB Output is partially correct : max_calls = 219
# 결과 실행 시간 메모리 Grader output
1 Partially correct 864 ms 1756 KB Output is partially correct : max_calls = 227
2 Partially correct 860 ms 1756 KB Output is partially correct : max_calls = 227
3 Partially correct 860 ms 1756 KB Output is partially correct : max_calls = 227
4 Partially correct 884 ms 1756 KB Output is partially correct : max_calls = 227
5 Partially correct 860 ms 1756 KB Output is partially correct : max_calls = 227
6 Partially correct 876 ms 1756 KB Output is partially correct : max_calls = 227
7 Partially correct 876 ms 1756 KB Output is partially correct : max_calls = 227
8 Partially correct 884 ms 1756 KB Output is partially correct : max_calls = 227
9 Partially correct 888 ms 1756 KB Output is partially correct : max_calls = 227
10 Partially correct 896 ms 1756 KB Output is partially correct : max_calls = 227
11 Partially correct 256 ms 1756 KB Output is partially correct : max_calls = 226
12 Partially correct 888 ms 1756 KB Output is partially correct : max_calls = 227
13 Partially correct 900 ms 1756 KB Output is partially correct : max_calls = 227
14 Partially correct 900 ms 1756 KB Output is partially correct : max_calls = 227
15 Partially correct 904 ms 1756 KB Output is partially correct : max_calls = 227
16 Partially correct 912 ms 1756 KB Output is partially correct : max_calls = 227
17 Partially correct 916 ms 1756 KB Output is partially correct : max_calls = 227
18 Partially correct 928 ms 1756 KB Output is partially correct : max_calls = 227
19 Partially correct 928 ms 1756 KB Output is partially correct : max_calls = 227
20 Partially correct 932 ms 1756 KB Output is partially correct : max_calls = 227
21 Partially correct 936 ms 1756 KB Output is partially correct : max_calls = 227
22 Partially correct 940 ms 1756 KB Output is partially correct : max_calls = 227
23 Partially correct 944 ms 1756 KB Output is partially correct : max_calls = 227