제출 #807101

#제출 시각아이디문제언어결과실행 시간메모리
807101BenmathVision Program (IOI19_vision)C++14
컴파일 에러
0 ms0 KiB
#include "vision.h" void construct_network(int H, int W, int K) { std::vector<int> Ns; Ns = {0, 1}; int a = add_and(Ns); cout<<a<<endl; Ns = {0, a}; int b = add_or(Ns); Ns = {0, 1, b}; int c = add_xor(Ns); add_not(c); }

컴파일 시 표준 에러 (stderr) 메시지

vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:7:2: error: 'cout' was not declared in this scope
    7 |  cout<<a<<endl;
      |  ^~~~
vision.cpp:7:11: error: 'endl' was not declared in this scope
    7 |  cout<<a<<endl;
      |           ^~~~