Submission #807101

#TimeUsernameProblemLanguageResultExecution timeMemory
807101BenmathVision Program (IOI19_vision)C++14
Compilation error
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); }

Compilation message (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;
      |           ^~~~