Submission #717788

# Submission time Handle Problem Language Result Execution time Memory
717788 2023-04-02T14:15:56 Z skyvn97 Hexagonal Territory (APIO21_hexagon) C++14
0 / 100
86 ms 58348 KB
#include "hexagon.h"

#include <bits/stdc++.h>
using namespace std;

long long a[10101][20202]; // memory limit exceeded

int draw_territory(int N, int A, int B,
                   std::vector<int> D, std::vector<int> L) {
	for (int i = 0; i < N; i++) a[i][i] = i;
}

Compilation message

hexagon.cpp: In function 'int draw_territory(int, int, int, std::vector<int>, std::vector<int>)':
hexagon.cpp:11:1: warning: no return statement in function returning non-void [-Wreturn-type]
   11 | }
      | ^
# Verdict Execution time Memory Grader output
1 Runtime error 76 ms 58304 KB Execution killed with signal 11
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 76 ms 58260 KB Execution killed with signal 11
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 71 ms 58296 KB Execution killed with signal 11
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 86 ms 58348 KB Execution killed with signal 11
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 71 ms 58296 KB Execution killed with signal 11
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 75 ms 58268 KB Execution killed with signal 11
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 72 ms 58308 KB Execution killed with signal 11
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 71 ms 58248 KB Execution killed with signal 11
2 Halted 0 ms 0 KB -