# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
13863 |
2015-04-09T06:36:27 Z |
gs14004 |
행성 탐사 (GA8_planet) |
C++14 |
|
0 ms |
1752 KB |
#include "planet.h"
void ainta() {
for(int i=0; i<101; i++){
paint(22 * i,0);
}
for (int i=0; i<22 + 101; i++) {
paint(0,0);
}
for(int i=0; i<101; i++){
paint(0,22 * i);
}
for (int i=0; i<22 + 101; i++) {
paint(0,0);
}
}
#include <cstdio>
void sangsoo() {
int resx = -1;
for(int i=0; i<101; i++){
count_row(42);
}
int p = 0;
for (int i=0; i<22; i++) {
if(count_row(i)) p = i;
}
for (int i=0; i<101; i++) {
int t = count_row(22 * i + p);
// printf("%d\n",t);
if(t > 1){
resx = 22 * i + p;
}
}
for(int i=0; i<101; i++){
count_row(42);
}
for (int i=0; i<22; i++) {
if(count_col(i)) p = i;
}
for (int i=0; i<101; i++) {
if(count_col(22 * i + p) > 1){
report(resx,22 * i + p);
return;
}
}
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
1752 KB |
Output isn't correct - ?듭씠 ??젮???꾨줈洹몃옩??醫낅즺?⑸땲?? |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Halted |
0 ms |
0 KB |
- |