답안 #7848

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
7848 2014-08-20T00:09:54 Z cki86201 행성 탐사 (GA8_planet) C++
96.2 / 100
980 ms 1756 KB
#include "planet.h"
void ainta(){
	paint(0,0);
	for(int i=2221;i>2121;i--)paint(i,i);
}

void sangsoo(){
	int p = 0, q = 0, cnt = 1;
	while(!count_row(p))p = (p + cnt++) % 2222;
	for(int i=6;i>=0;i--,cnt++)if(count_row((p+(1<<i))%2222))p = (p + (1<<i)) % 2222;
	while(!count_col(q))q += cnt++;
	for(int i=6;i>=0;i--)if(count_col((q+(1<<i))%2222))q = (q + (1<<i)) % 2222;
	report(p, q);
}
# 결과 실행 시간 메모리 Grader output
1 Partially correct 64 ms 1756 KB Output is partially correct : max_calls = 107
2 Partially correct 56 ms 1756 KB Output is partially correct : max_calls = 107
3 Partially correct 56 ms 1756 KB Output is partially correct : max_calls = 107
4 Partially correct 52 ms 1756 KB Output is partially correct : max_calls = 107
5 Partially correct 60 ms 1756 KB Output is partially correct : max_calls = 107
6 Partially correct 56 ms 1756 KB Output is partially correct : max_calls = 107
7 Partially correct 60 ms 1756 KB Output is partially correct : max_calls = 107
8 Partially correct 60 ms 1756 KB Output is partially correct : max_calls = 107
9 Partially correct 60 ms 1756 KB Output is partially correct : max_calls = 107
10 Partially correct 60 ms 1756 KB Output is partially correct : max_calls = 107
11 Partially correct 60 ms 1756 KB Output is partially correct : max_calls = 107
12 Partially correct 64 ms 1756 KB Output is partially correct : max_calls = 107
13 Partially correct 60 ms 1756 KB Output is partially correct : max_calls = 107
14 Partially correct 60 ms 1756 KB Output is partially correct : max_calls = 107
15 Partially correct 64 ms 1756 KB Output is partially correct : max_calls = 107
16 Partially correct 64 ms 1756 KB Output is partially correct : max_calls = 107
17 Partially correct 64 ms 1756 KB Output is partially correct : max_calls = 107
18 Partially correct 64 ms 1756 KB Output is partially correct : max_calls = 107
19 Partially correct 64 ms 1756 KB Output is partially correct : max_calls = 107
20 Partially correct 148 ms 1756 KB Output is partially correct : max_calls = 107
# 결과 실행 시간 메모리 Grader output
1 Partially correct 572 ms 1756 KB Output is partially correct : max_calls = 107
2 Partially correct 576 ms 1756 KB Output is partially correct : max_calls = 107
3 Partially correct 576 ms 1756 KB Output is partially correct : max_calls = 107
4 Partially correct 576 ms 1756 KB Output is partially correct : max_calls = 107
5 Partially correct 592 ms 1756 KB Output is partially correct : max_calls = 107
6 Partially correct 596 ms 1756 KB Output is partially correct : max_calls = 107
7 Partially correct 600 ms 1756 KB Output is partially correct : max_calls = 107
8 Partially correct 608 ms 1756 KB Output is partially correct : max_calls = 107
9 Partially correct 604 ms 1756 KB Output is partially correct : max_calls = 107
10 Partially correct 616 ms 1756 KB Output is partially correct : max_calls = 107
11 Partially correct 184 ms 1756 KB Output is partially correct : max_calls = 107
12 Partially correct 620 ms 1756 KB Output is partially correct : max_calls = 107
13 Partially correct 644 ms 1756 KB Output is partially correct : max_calls = 107
14 Partially correct 980 ms 1756 KB Output is partially correct : max_calls = 107
15 Partially correct 648 ms 1756 KB Output is partially correct : max_calls = 107
16 Partially correct 640 ms 1756 KB Output is partially correct : max_calls = 107
17 Partially correct 636 ms 1756 KB Output is partially correct : max_calls = 107
18 Partially correct 648 ms 1756 KB Output is partially correct : max_calls = 107
19 Partially correct 648 ms 1756 KB Output is partially correct : max_calls = 107
20 Partially correct 660 ms 1756 KB Output is partially correct : max_calls = 107
21 Partially correct 656 ms 1756 KB Output is partially correct : max_calls = 107
22 Partially correct 664 ms 1756 KB Output is partially correct : max_calls = 107
23 Partially correct 664 ms 1756 KB Output is partially correct : max_calls = 107