Problem | maximum |
---|---|
User | HelloMhing |
Submission Time | 2023-07-11 23:13:38 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
maximum.cpp: In function ‘int main()’:
maximum.cpp:5:2: error: ‘ios_base’ has not been declared
5 | ios_base::sync_with_stdio(0);
| ^~~~~~~~
maximum.cpp:6:2: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
6 | cin.tie(0);
| ^~~
| std::cin
In file included from maximum.cpp:2:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
maximum.cpp:7:2: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
7 | cout.tie(0);
| ^~~~
| std::cout
In file included from maximum.cpp:2:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
maximum.cpp:9:15: error: ‘n’ was not declared in this scope
9 | scanf("%d", &n);
| ^<