Submission #717788

#TimeUsernameProblemLanguageResultExecution timeMemory
717788skyvn97Hexagonal Territory (APIO21_hexagon)C++14
0 / 100
86 ms58348 KiB
#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 (stderr)

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 timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...