Pagini recente » Borderou de evaluare (job #1800591) | Borderou de evaluare (job #2788027) | Borderou de evaluare (job #363895) | Borderou de evaluare (job #2735424) | Borderou de evaluare (job #2782033)
Borderou de evaluare (job #2782033)
Raport evaluator
Compilare:
main.cpp: In function 'short int D(short int, short int, short int*)':
main.cpp:27:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
27 | for(t=a;t<10&&!d[t]||d[t]%2==0;++t);
| ~~~~^~~~~~~
main.cpp:27:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
27 | for(t=a;t<10&&!d[t]||d[t]%2==0;++t);
| ^~~
main.cpp:28:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
28 | if(9<t) {
| ^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | OK! | 10 |
2 | 1ms | 184kb | OK! | 10 |
3 | 1ms | 184kb | OK! | 10 |
4 | 1ms | 184kb | OK! | 10 |
5 | 11ms | 184kb | OK! | 10 |
6 | 1ms | 184kb | OK! | 10 |
7 | 1ms | 184kb | OK! | 10 |
8 | 1ms | 184kb | OK! | 10 |
9 | 1ms | 184kb | OK! | 10 |
10 | 1ms | 184kb | OK! | 10 |
Punctaj total | 100 |