Submission #7714

# Submission time Handle Problem Language Result Execution time Memory
7714 2014-08-15T14:00:15 Z kriii 행성 탐사 (GA8_planet) C++
65.1 / 100
1084 ms 1756 KB
#include "planet.h"

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

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 += 37;
			else i = i - 1;
			if (i < 0) i += 2222;
			i %= 2222;
		}
	}
	report(x[0],x[1]);
}
# Verdict Execution time Memory Grader output
1 Partially correct 100 ms 1756 KB Output is partially correct : max_calls = 264
2 Partially correct 96 ms 1756 KB Output is partially correct : max_calls = 263
3 Partially correct 112 ms 1756 KB Output is partially correct : max_calls = 264
4 Partially correct 100 ms 1756 KB Output is partially correct : max_calls = 264
5 Partially correct 100 ms 1756 KB Output is partially correct : max_calls = 263
6 Partially correct 104 ms 1756 KB Output is partially correct : max_calls = 264
7 Partially correct 100 ms 1756 KB Output is partially correct : max_calls = 265
8 Partially correct 104 ms 1756 KB Output is partially correct : max_calls = 264
9 Partially correct 104 ms 1756 KB Output is partially correct : max_calls = 265
10 Partially correct 104 ms 1756 KB Output is partially correct : max_calls = 264
11 Partially correct 104 ms 1756 KB Output is partially correct : max_calls = 265
12 Partially correct 104 ms 1756 KB Output is partially correct : max_calls = 264
13 Partially correct 104 ms 1756 KB Output is partially correct : max_calls = 263
14 Partially correct 100 ms 1756 KB Output is partially correct : max_calls = 264
15 Partially correct 104 ms 1756 KB Output is partially correct : max_calls = 264
16 Partially correct 104 ms 1756 KB Output is partially correct : max_calls = 264
17 Partially correct 104 ms 1756 KB Output is partially correct : max_calls = 264
18 Partially correct 104 ms 1756 KB Output is partially correct : max_calls = 265
19 Partially correct 104 ms 1756 KB Output is partially correct : max_calls = 264
20 Partially correct 192 ms 1756 KB Output is partially correct : max_calls = 265
# Verdict Execution time Memory Grader output
1 Partially correct 992 ms 1756 KB Output is partially correct : max_calls = 265
2 Partially correct 980 ms 1756 KB Output is partially correct : max_calls = 265
3 Partially correct 992 ms 1756 KB Output is partially correct : max_calls = 265
4 Partially correct 1000 ms 1756 KB Output is partially correct : max_calls = 265
5 Partially correct 1008 ms 1756 KB Output is partially correct : max_calls = 265
6 Partially correct 1016 ms 1756 KB Output is partially correct : max_calls = 265
7 Partially correct 1012 ms 1756 KB Output is partially correct : max_calls = 265
8 Partially correct 1008 ms 1756 KB Output is partially correct : max_calls = 265
9 Partially correct 1020 ms 1756 KB Output is partially correct : max_calls = 265
10 Partially correct 1028 ms 1756 KB Output is partially correct : max_calls = 265
11 Partially correct 292 ms 1756 KB Output is partially correct : max_calls = 264
12 Partially correct 1028 ms 1756 KB Output is partially correct : max_calls = 265
13 Partially correct 1028 ms 1756 KB Output is partially correct : max_calls = 265
14 Partially correct 1036 ms 1756 KB Output is partially correct : max_calls = 265
15 Partially correct 1048 ms 1756 KB Output is partially correct : max_calls = 265
16 Partially correct 1044 ms 1756 KB Output is partially correct : max_calls = 265
17 Partially correct 1048 ms 1756 KB Output is partially correct : max_calls = 265
18 Partially correct 1056 ms 1756 KB Output is partially correct : max_calls = 265
19 Partially correct 1084 ms 1756 KB Output is partially correct : max_calls = 265
20 Partially correct 1064 ms 1756 KB Output is partially correct : max_calls = 265
21 Partially correct 1068 ms 1756 KB Output is partially correct : max_calls = 265
22 Partially correct 1072 ms 1756 KB Output is partially correct : max_calls = 265
23 Partially correct 1072 ms 1756 KB Output is partially correct : max_calls = 265