Problem | 4sum |
---|---|
User | n |
Submission Time | 2024-02-16 22:14:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
4sum.cpp: In function ‘int main()’:
4sum.cpp:5:5: error: ‘ios_base’ has not been declared
5 | ios_base::sync_with_stdio(false);
| ^~~~~~~~
4sum.cpp:6:5: error: ‘cin’ was not declared in this scope
6 | cin.tie(0);
| ^~~
4sum.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 |
4sum.cpp:7:5: error: ‘cout’ was not declared in this scope
7 | cout.tie(0);
| ^~~~
4sum.cpp:7:5: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
4sum.cpp:17:5: error: ‘unordered_map’ was not declared in this scope
17 | unordered_map<int, pair<int, int>> map;
| ^~~~~~~~~~~~~
4sum.cpp:1:1: note: ‘std::unordered_map’ is defined in header ‘<unordered_map>’; did you forget to ‘#include <unordered_map>’?
+++ |+#i