Borderou de evaluare (job #797880)

Utilizator avatar EZY_PETRU124 Petru Jurcut EZY_PETRU124 IP ascuns
Problemă Alee (clasa a 10-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 26 nov. 2024 19:09:18 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int lee(int, int, int)': main.cpp:11:9: warning: unused variable 'suma' [-Wunused-variable] 11 | int suma = 0; | ^~~~ main.cpp:25:1: warning: no return statement in function returning non-void [-Wreturn-type] 25 | } | ^ main.cpp:10:5: warning: infinite recursion detected [-Winfinite-recursion] 10 | int lee( int l, int c , int val) { | ^~~ main.cpp:14:12: note: recursive call 14 | lee( l, c + 1, val + 1); | ~~~^~~~~~~~~~~~~~~~~~~~ main.cpp:17:12: note: recursive call 17 | lee( l - 1, c, val + 1); | ~~~^~~~~~~~~~~~~~~~~~~~ main.cpp:20:12: note: recursive call 20 | lee( l + 1, c, val + 1); | ~~~^~~~~~~~~~~~~~~~~~~~ main.cpp:23:12: note: recursive call 23 | lee( l, c - 1, val + 1); | ~~~^~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 770 kb Killed by Signal 11 0
2 1 ms 1052 kb Killed by Signal 11 0
3 9 ms 2342 kb Memory limit exceeded 0
4 9 ms 2363 kb Memory limit exceeded 0
5 9 ms 2609 kb Memory limit exceeded 0
6 9 ms 2605 kb Memory limit exceeded 0
7 19 ms 2867 kb Memory limit exceeded 0
8 9 ms 2891 kb Memory limit exceeded 0
9 9 ms 2347 kb Memory limit exceeded 0
10 9 ms 2605 kb Memory limit exceeded 0
Punctaj total 0