Problem | maximum |
---|---|
User | DL2704 |
Submission Time | 2023-11-11 23:25:53 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
maximum.cpp:1:2: error: invalid preprocessing directive #input
1 | #input <iostream>
| ^~~~~
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 | #input <iostream>
maximum.cpp:6:5: error: expected ‘(’ before ‘a’
6 | if a > b{
| ^
| (
maximum.cpp:9:5: error: expected ‘(’ before ‘b’
9 | if b > a{
| ^
| (