Borderou de evaluare (job #3200891)

Utilizator Theo20067Cismaru Theodor-Alexe Theo20067 Data 5 februarie 2024 23:32:17
Problema Datorii Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'long long int query(int, int, int, int, int)': main.cpp:48:1: warning: no return statement in function returning non-void [-Wreturn-type] 48 | } | ^ main.cpp:35:11: warning: infinite recursion detected [-Winfinite-recursion] 35 | long long query(int nod,int st,int dr,int a,int b) | ^~~~~ main.cpp:43:18: note: recursive call 43 | query(2*nod,st,mid,a,b); | ~~~~~^~~~~~~~~~~~~~~~~~ main.cpp:45:18: note: recursive call 45 | query(2*nod+1,mid+1,dr,a,b); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
15ms880kbKilled by Signal 110
25ms880kbKilled by Signal 110
35ms876kbKilled by Signal 110
45ms880kbKilled by Signal 110
55ms876kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?