Submission #7552

# Submission time Handle Problem Language Result Execution time Memory
7552 2014-08-11T06:34:56 Z gs13068 행성 탐사 (GA8_planet) C++
20.3 / 100
3000 ms 1756 KB
#include "planet.h"

int calls = 0;

int my_row(int r)
{
  calls++;
  return count_row(r);
}

int my_col(int c)
{
  calls++;
  return count_col(c);
}

void ainta()
{
  paint(0,0);
}

void sangsoo()
{
  int x, y;
  for(x=0; x<2222; x++)if(my_row(x))break;
  for(y=0; y<2222; y++)if(my_col(y))break;
  report(x,y);
}
# Verdict Execution time Memory Grader output
1 Partially correct 416 ms 1756 KB Output is partially correct : max_calls = 4434
2 Partially correct 412 ms 1756 KB Output is partially correct : max_calls = 4439
3 Partially correct 416 ms 1756 KB Output is partially correct : max_calls = 4416
4 Partially correct 416 ms 1756 KB Output is partially correct : max_calls = 4413
5 Partially correct 416 ms 1756 KB Output is partially correct : max_calls = 4418
6 Partially correct 416 ms 1756 KB Output is partially correct : max_calls = 4423
7 Partially correct 412 ms 1756 KB Output is partially correct : max_calls = 4428
8 Partially correct 420 ms 1756 KB Output is partially correct : max_calls = 4433
9 Partially correct 420 ms 1756 KB Output is partially correct : max_calls = 4435
10 Partially correct 416 ms 1756 KB Output is partially correct : max_calls = 4440
11 Partially correct 416 ms 1756 KB Output is partially correct : max_calls = 4417
12 Partially correct 412 ms 1756 KB Output is partially correct : max_calls = 4411
13 Partially correct 412 ms 1756 KB Output is partially correct : max_calls = 4419
14 Partially correct 420 ms 1756 KB Output is partially correct : max_calls = 4424
15 Partially correct 420 ms 1756 KB Output is partially correct : max_calls = 4429
16 Partially correct 416 ms 1756 KB Output is partially correct : max_calls = 4434
17 Partially correct 424 ms 1756 KB Output is partially correct : max_calls = 4436
18 Partially correct 420 ms 1756 KB Output is partially correct : max_calls = 4441
19 Partially correct 424 ms 1756 KB Output is partially correct : max_calls = 4418
20 Partially correct 512 ms 1756 KB Output is partially correct : max_calls = 4432
# Verdict Execution time Memory Grader output
1 Execution timed out 3000 ms 1752 KB Program timed out
2 Halted 0 ms 0 KB -