Problem yaleuniversity
User Elwinthenerd
Submission Time 2024-11-02 15:50:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

yaleuniversity.cpp: In function ‘int main()’:
yaleuniversity.cpp:3:5: error: ‘ios_base’ has not been declared
3 | ios_base::sync_with_stdio(false);
| ^~~~~~~~
yaleuniversity.cpp:4:5: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
4 | cin.tie(NULL);
| ^~~
| std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from yaleuniversity.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
yaleuniversity.cpp:7:5: error: ‘unordered_map’ was not declared in this scope
7 | unordered_map<string, int> word_count;
| ^~~~~~~~~~~~~
yaleuniversity.cpp:7:5: note: suggested alternatives:
In file included from /usr/include/c++/9/unordered_map:47,
from /usr/include/c++/9/functional:61,