Submission #717782

#TimeUsernameProblemLanguageResultExecution timeMemory
717782skyvn97Hexagonal Territory (APIO21_hexagon)C++14
Compilation error
0 ms0 KiB
#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 (stderr)

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;
      |                                    ^~~~