Submission #13871

#TimeUTC-0UsernameProblemLanguageResultExecution timeMemory
138712015-04-09 07:13:29gs14004행성 탐사 (GA8_planet)C++14
67.50 / 100
1429 ms1752 KiB
#include "planet.h"
void ainta() {
for (int i=0; i<34; i++) {
paint(i,0); // step 1.
}
for (int i=0; i<34; i++) {
paint(0,i); // step 1.
}
for (int i=0; i<34 + 66 - 34; i++) {
paint(0,0); // ignore step 2.
}
for (int i=0; i<34 + 66; i++) {
paint(0,0); // ignore step 2.
}
}
void sangsoo() {
for(int i=0; i<34; i++){
count_row(42); // ignore step 1.
}
int posx = 0;
for (int i=0; i<66; i++) {
if(count_row(i * 34 % 2222)) posx = 34 * i % 2222; // step 2.
}
for (int i=0; i<34; i++) {
if(count_row((posx + 2221) % 2222)) posx = (posx + 2221) % 2222;
}
int posy = 0;
for (int i=0; i<66; i++) {
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...