답안 #717782

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
717782 2023-04-02T14:11:00 Z skyvn97 육각형 영역 (APIO21_hexagon) C++14
컴파일 오류
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;
      |                                    ^~~~