Pagini recente » Borderou de evaluare (job #3330939) | Borderou de evaluare (job #3353880) | Borderou de evaluare (job #3263796) | Borderou de evaluare (job #2553462) | Borderou de evaluare (job #3346650)
Borderou de evaluare (job #3346650)
Raport evaluator
Compilare:
main.cpp: In function 'int back(int, int*, int, int, int)':
main.cpp:26:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
26 | else
| ^~~~
main.cpp:30:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
30 | if(max<s)
| ^~
main.cpp:19:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
19 | if(bun(k))
| ^
main.cpp:40:1: warning: no return statement in function returning non-void [-Wreturn-type]
40 | }
| ^
main.cpp:13:5: warning: infinite recursion detected [-Winfinite-recursion]
13 | int back(int k,int *r,int n,int c,int s)
| ^~~~
main.cpp:23:25: note: recursive call
23 | back(k+1,r,n,c,s);
| ~~~~^~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 54ms | 393kb | Time limit exceeded | 0 |
| Punctaj total | 0 |