Problem maximum
User 2Princes1Lance
Submission Time 2023-11-22 15:13:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

maximum.cpp: In function ‘int main()’:
maximum.cpp:5:20: error: invalid operands of types ‘int*’ and ‘int’ to binary ‘operator&’
5 | scanf("%i %i", &a &b);
| ~~ ^~
| | |
| | int
| int*
maximum.cpp:9:2: error: expected ‘}’ before ‘else’
9 | else{
| ^~~~
maximum.cpp:6:10: note: to match this ‘{’
6 | if(a<=b){
| ^
maximum.cpp:10:3: error: ‘print’ was not declared in this scope; did you mean ‘printf’?
10 | print("%i", b);
| ^~~~~
| printf
maximum.cpp: At global scope:
maximum.cpp:14:1: error: expected declaration before ‘}’ token
14 | }
| ^