# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
7109 |
2014-07-26T06:46:05 Z |
ainta |
행성 탐사 (GA8_planet) |
C++ |
|
0 ms |
1756 KB |
#include "planet.h"
#define N 2222
void ainta() {
int i;
for (i = 0; i <= 47; i++){
paint(i, i);
}
}
void sangsoo() {
int i, x, y, B, E, M, R;
for (i = 0;; i++){
if (count_row((i * 48) % 2222))break;
}
R = i * 48; B = R + 1, E = R + 47;
while (B <= E){
M = (B + E) >> 1;
if (count_row(M % 2222)){R = M; B = M + 1;}
else E = M - 1;
}
x = (R + 2222 - 47)%2222;
for (i = 0;; i++){
if (count_col((i * 48) % 2222))break;
}
R = i * 48; B = R + 1, E = R + 47;
while (B <= E){
M = (B + E) >> 1;
if (count_col(M % 2222)){ R = M; B = M + 1; }
else E = M - 1;
}
y = (R + 2222 - 47) % 2222;
report(x, y);
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
1756 KB |
Output isn't correct - 답이 틀려서 프로그램을 종료합니다. |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Halted |
0 ms |
0 KB |
- |