Pagini recente » Borderou de evaluare (job #142054) | Borderou de evaluare (job #1440653) | Borderou de evaluare (job #2676471) | Borderou de evaluare (job #2404907) | Borderou de evaluare (job #3256408)
Borderou de evaluare (job #3256408)
Raport evaluator
Compilare:
main.cpp: In function 'int suma(int)':
main.cpp:17:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
17 | for(int i=x;i>=1;i-=(i&(-i)))
| ^~~
main.cpp:19:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
19 | return sum;
| ^~~~~~
main.cpp:16:15: warning: unused variable 'i' [-Wunused-variable]
16 | int sum=0,i;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 14ms | 679kb | Corect! | 20 |
2 | 14ms | 679kb | Corect! | 20 |
3 | 14ms | 679kb | Corect! | 20 |
4 | 13ms | 679kb | Corect! | 20 |
5 | 14ms | 659kb | Corect! | 20 |
Punctaj total | 100 |