Problem maximum
User shaokai347
Submission Time 2026-01-27 14:52:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

maximum.cpp:1:2: error: invalid preprocessing directive #incluse; did you mean #include?
1 | #incluse <bits/stdc++.h>
| ^~~~~~~
| include
maximum.cpp: In function ‘int main()’:
maximum.cpp:5:2: error: ‘cin’ was not declared in this scope
5 | cin >> a >> b;
| ^~~
maximum.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #incluse <bits/stdc++.h>
maximum.cpp:6:2: error: ‘cout’ was not declared in this scope
6 | cout << max(a, b);
| ^~~~
maximum.cpp:6:2: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
maximum.cpp:6:10: error: ‘max’ was not declared in this scope
6 | cout << max(a, b);
| ^~~