Submission #717794

# Submission time Handle Problem Language Result Execution time Memory
717794 2023-04-02T14:23:16 Z skyvn97 Hexagonal Territory (APIO21_hexagon) C++14
0 / 100
549 ms 1048576 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 < 10101; i++) for (int j = 0; j < 20202; j++) a[i][j] = i ^ j;
  	return a[0][0] + 220797;
}
# Verdict Execution time Memory Grader output
1 Runtime error 549 ms 1048576 KB Execution killed with signal 9
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 470 ms 1048576 KB Execution killed with signal 9
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 492 ms 1048576 KB Execution killed with signal 9
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 471 ms 1048576 KB Execution killed with signal 9
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 476 ms 1048576 KB Execution killed with signal 9
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 509 ms 1048576 KB Execution killed with signal 9
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 493 ms 1048576 KB Execution killed with signal 9
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 495 ms 1048576 KB Execution killed with signal 9
2 Halted 0 ms 0 KB -