Problem | maximum |
---|---|
User | 2Princes1Lance |
Submission Time | 2023-11-22 15:13:01 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
maximum.cpp: In function ‘int main()’:
maximum.cpp:5:22: error: expected primary-expression before ‘)’ token
5 | scanf("%i %i", a& b&);
| ^
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 | }
| ^