# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
7190 |
2014-07-27T14:17:45 Z |
gs13068 |
행성 탐사 (GA8_planet) |
C++ |
|
760 ms |
1756 KB |
#include "planet.h"
#define BUCKET 100
void ainta()
{
int i,j;
for(i=0;i<BUCKET;i++)paint((2222-i)%2222,(2222-i)%2222);
}
void sangsoo()
{
int x,y,z=0;
int i,j,k;
for(x=0;++z&&!count_row(x%2222);x+=z);
i=x+z-1;
for(y=0;++z&&!count_col(y%2222)&&++z;y+=z);
j=y+z-1;
while(x<i)
{
k=(x+i+1)/2;
if(count_row(k%2222))x=k;
else i=k-1;
}
while(y<j)
{
k=(y+j+1)/2;
if(count_col(k%2222))y=k;
else j=k-1;
}
report(x%2222,y%2222);
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Partially correct |
64 ms |
1756 KB |
Output is partially correct : max_calls = 171 |
2 |
Partially correct |
64 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
3 |
Partially correct |
72 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
4 |
Partially correct |
64 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
5 |
Partially correct |
68 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
6 |
Partially correct |
68 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
7 |
Partially correct |
68 ms |
1756 KB |
Output is partially correct : max_calls = 171 |
8 |
Partially correct |
68 ms |
1756 KB |
Output is partially correct : max_calls = 171 |
9 |
Partially correct |
72 ms |
1756 KB |
Output is partially correct : max_calls = 171 |
10 |
Partially correct |
68 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
11 |
Partially correct |
72 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
12 |
Partially correct |
64 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
13 |
Partially correct |
72 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
14 |
Partially correct |
72 ms |
1756 KB |
Output is partially correct : max_calls = 171 |
15 |
Partially correct |
72 ms |
1756 KB |
Output is partially correct : max_calls = 171 |
16 |
Partially correct |
80 ms |
1756 KB |
Output is partially correct : max_calls = 171 |
17 |
Partially correct |
80 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
18 |
Partially correct |
80 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
19 |
Partially correct |
76 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
20 |
Partially correct |
160 ms |
1756 KB |
Output is partially correct : max_calls = 171 |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Partially correct |
700 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
2 |
Partially correct |
700 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
3 |
Partially correct |
724 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
4 |
Partially correct |
688 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
5 |
Partially correct |
676 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
6 |
Partially correct |
688 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
7 |
Partially correct |
696 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
8 |
Partially correct |
704 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
9 |
Partially correct |
712 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
10 |
Partially correct |
704 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
11 |
Partially correct |
220 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
12 |
Partially correct |
716 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
13 |
Partially correct |
760 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
14 |
Partially correct |
716 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
15 |
Partially correct |
720 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
16 |
Partially correct |
748 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
17 |
Partially correct |
732 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
18 |
Partially correct |
740 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
19 |
Partially correct |
740 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
20 |
Partially correct |
744 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
21 |
Partially correct |
744 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
22 |
Partially correct |
760 ms |
1756 KB |
Output is partially correct : max_calls = 172 |
23 |
Partially correct |
756 ms |
1756 KB |
Output is partially correct : max_calls = 172 |