제출 #717782

#제출 시각아이디문제언어결과실행 시간메모리
717782skyvn97육각형 영역 (APIO21_hexagon)C++14
컴파일 에러
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; }

컴파일 시 표준 에러 (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;
      |                                    ^~~~