Submission #807101

# Submission time Handle Problem Language Result Execution time Memory
807101 2023-08-04T13:16:13 Z Benmath Vision Program (IOI19_vision) C++14
Compilation error
0 ms 0 KB
#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

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