Problem maximum
User Helloworld
Submission Time 2026-01-21 16:35:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

maximum.cpp: In function ‘int main()’:
maximum.cpp:4:2: error: ‘ios_base’ has not been declared
4 | ios_base::sync_with_stdio(0);cin.tie(0);
| ^~~~~~~~
maximum.cpp:4:31: error: ‘cin’ was not declared in this scope
4 | ios_base::sync_with_stdio(0);cin.tie(0);
| ^~~
maximum.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | using namespace std;
maximum.cpp:10:6: error: ‘cout’ was not declared in this scope
10 | cout << a:
| ^~~~
maximum.cpp:10:6: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
maximum.cpp:12:15: error: expected ‘}’ at end of input
12 | cout << b;
| ^
maximum.cpp:3:14: note: to match this ‘{’
3 | signed main(){;
| ^