Pagini recente » Borderou de evaluare (job #1379829) | Borderou de evaluare (job #1659259) | Borderou de evaluare (job #1619219) | Borderou de evaluare (job #1659258) | Borderou de evaluare (job #2920828)
Borderou de evaluare (job #2920828)
Raport evaluator
Compilare:
main.cpp: In function 'void Afisare(int)':
main.cpp:10:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
10 | if(p)
| ^
main.cpp: In function 'int main()':
main.cpp:29:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
29 | for(i=1;i<=p;i++) cout<<best[i]<<" ";cout<<"\n";
| ^~~
main.cpp:29:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
29 | for(i=1;i<=p;i++) cout<<best[i]<<" ";cout<<"\n";
| ^~~~
main.cpp:30:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
30 | for(i=1;i<=n;i++) cout<<lg[i]<<" ";cout<<"\n";
| ^~~
main.cpp:30:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
30 | for(i=1;i<=n;i++) cout<<lg[i]<<" ";cout<<"\n";
| ^~~~
main.cpp:21:11: warning: unused variable 'j' [-Wunused-variable]
21 | int i,j,poz,lgmax;
| ^
main.cpp:21:17: warning: unused variable 'lgmax' [-Wunused-variable]
21 | int i,j,poz,lgmax;
| ^~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 1ms | 188kb | Lungime incorecta! | 0 | 0 |
| 2 | 1ms | 184kb | Corect! | 10 | 10 |
| 3 | 1ms | 184kb | Corect! | 10 | 10 |
| 4 | 1ms | 184kb | Corect! | 10 | 10 |
| 5 | 1ms | 184kb | Corect! | 10 | 10 |
| 6 | 1ms | 184kb | Corect! | 10 | 10 |
| 7 | 1ms | 184kb | Corect! | 10 | 10 |
| 8 | 109ms | 1024kb | Corect! | 10 | 30 |
| 9 | 55ms | 1064kb | Corect! | 10 |
| 10 | 54ms | 1015kb | Corect! | 10 |
| Punctaj total | 90 |