# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
13883 | gs14004 | 행성 탐사 (GA8_planet) | C++14 | 0 ms | 1752 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include "planet.h"
#include <algorithm>
using namespace std;
const int EE = 2222;
void ainta() {
for (int i=0; i<94; i++){
paint(i,i);
}
for (int i=0; i<14; i++) {
paint(0,0); // ignore step 2.
}
}
void sangsoo() {
int xs = 0, xe = 0, fx = 0, ys = 0, ye = 1, fy = 0;
for (int i=1; i <= 93; i+=2) {
if(count_row(xe)){
fx = 1;
}
if(!fx){
xs = xe + 1;
xe = xe + i + 1;
}
if(count_col(ye)){
fy = 1;
}
if(!fy){
ys = ye + 1;
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |