Pagini recente » Borderou de evaluare (job #2388836) | Borderou de evaluare (job #2303171) | Cod sursa (job #200033) | simulare_oji_11_12_3 | Borderou de evaluare (job #3172730)
Borderou de evaluare (job #3172730)
Raport evaluator
Compilare:
main.cpp: In function 'int Q(int, int)':
main.cpp:31:1: warning: no return statement in function returning non-void [-Wreturn-type]
31 | }
| ^
main.cpp:26:5: warning: infinite recursion detected [-Winfinite-recursion]
26 | int Q(int st, int dr)
| ^
main.cpp:29:17: note: recursive call
29 | if(p-st>1) Q(st,p-1);
| ~^~~~~~~~
main.cpp:30:17: note: recursive call
30 | if(dr-p>1) Q(p+1,dr);
| ~^~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 303kb | OK | 10 | 10 |
| 2 | 0ms | 303kb | OK | 10 | 10 |
| 3 | 0ms | 303kb | OK | 10 | 10 |
| 4 | 0ms | 303kb | OK | 10 | 10 |
| 5 | 0ms | 303kb | OK | 10 | 60 |
| 6 | 0ms | 303kb | OK | 10 |
| 7 | 1ms | 303kb | OK | 10 |
| 8 | 1ms | 303kb | OK | 10 |
| 9 | 1ms | 303kb | OK | 10 |
| 10 | 1ms | 303kb | OK | 10 |
| Punctaj total | 100 |