Submission #717782

# Submission time Handle Problem Language Result Execution time Memory
717782 2023-04-02T14:11:00 Z skyvn97 Hexagonal Territory (APIO21_hexagon) C++14
Compilation error
0 ms 0 KB
#include "hexagon.h"

#include <vector>

int draw_territory(int N, int A, int B,
                   std::vector<int> D, std::vector<int> L) {
  while (true) cout << "HUHUHU" << endl;
}

Compilation message

hexagon.cpp: In function 'int draw_territory(int, int, int, std::vector<int>, std::vector<int>)':
hexagon.cpp:7:16: error: 'cout' was not declared in this scope
    7 |   while (true) cout << "HUHUHU" << endl;
      |                ^~~~
hexagon.cpp:7:36: error: 'endl' was not declared in this scope
    7 |   while (true) cout << "HUHUHU" << endl;
      |                                    ^~~~