Borderou de evaluare (job #163056)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Case1 (clasa a 5-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 30 oct. 2015 17:20:07 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int intoarceri(int, int*)’:
user.cpp:19:13: error: declaration of ‘int v’ shadows a parameter
user.cpp:19:17: error: declaration of ‘int i’ shadows a parameter
user.cpp:19:22: error: expression list treated as compound expression in initializer [-fpermissive]
user.cpp:19:22: warning: left operand of comma operator has no effect [-Wunused-value]
user.cpp:19:22: warning: right operand of comma operator has no effect [-Wunused-value]
user.cpp:20:5: error: expected ‘,’ or ‘;’ before ‘int’
user.cpp:21:15: error: cannot resolve overloaded function ‘max’ based on conversion to type ‘int’
user.cpp:23:20: error: ‘pasi’ was not declared in this scope
user.cpp:23:23: error: ‘best’ was not declared in this scope
user.cpp:24:27: error: invalid conversion from ‘int’ to ‘int*’ [-fpermissive]
user.cpp:5:5: error: initializing argument 2 of ‘int intoarceri(int, int*)’ [-fpermissive]
user.cpp:26:12: error: expected ‘;’ before ‘out’
user.cpp:28:1: error: expected ‘;’ before ‘}’ token
user.cpp:19:9: warning: unused variable ‘b’ [-Wunused-variable]