Pagini recente » Borderou de evaluare (job #1302191) | Borderou de evaluare (job #2920829)
Borderou de evaluare (job #2920829)
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 | 184kb | Corect! | 10 | 10 |
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 | 2ms | 184kb | Corect! | 10 | 10 |
7 | 3ms | 299kb | Corect! | 10 | 10 |
8 | 69ms | 1093kb | Corect! | 10 | 30 |
9 | 87ms | 962kb | Corect! | 10 |
10 | 56ms | 987kb | Corect! | 10 |
Punctaj total | 100 |