Borderou de evaluare (job #692269)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Lanterna | Compilator | cpp-32 | vezi sursa |
Rundă | cex_11_12_30_ian_2023 | Status | evaluat |
Dată | 2 feb. 2023 16:34:12 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int det(int)':
main.cpp:13:35: error: expected ';' before ')' token
13 | else 2*v[2]+v[1]+v[k]+det(k-2));
| ^
| ;
main.cpp:13:26: warning: value computed is not used [-Wunused-value]
13 | else 2*v[2]+v[1]+v[k]+det(k-2));
| ~~~~~~~~~~~~~~~~^~~~~~~~~
main.cpp:13:30: warning: control reaches end of non-void function [-Wreturn-type]
13 | else 2*v[2]+v[1]+v[k]+det(k-2));
| ~~~^~~~~