Problem 4sum
User cobnet
Submission Time 2024-02-11 17:30:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

4sum.cpp: In function ‘int main()’:
4sum.cpp:6:2: error: ‘ios_base’ has not been declared
6 | ios_base::sync_with_stdio(0);
| ^~~~~~~~
4sum.cpp:7:5: error: ‘cin’ was not declared in this scope
7 | cin.tie(0);
| ^~~
4sum.cpp:3:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
2 | #include <vector>
+++ |+#include <iostream>
3 | using namespace std;
4sum.cpp:8:5: error: ‘cout’ was not declared in this scope
8 | cout.tie(0);
| ^~~~
4sum.cpp:8:5: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
4sum.cpp:21:110: error: ‘endl’ was not declared in this scope
21 | cout << Armenia[s] << " " << Belgium[g] << " " << Canada[e] << " " << Djibouti[f] << endl;
|