Problem fraud
User Josh28acc2
Submission Time 2024-02-22 12:58:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fraud.cpp: In function ‘int main()’:
fraud.cpp:58:1: error: ‘ios_base’ has not been declared
58 | ios_base::sync_with_stdio(false);cin.tie(NULL);
| ^~~~~~~~
fraud.cpp:58:34: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
58 | ios_base::sync_with_stdio(false);cin.tie(NULL);
| ^~~
| std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from fraud.cpp:26:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~