Pagini recente » Borderou de evaluare (job #1221563) | Borderou de evaluare (job #2680476) | Borderou de evaluare (job #1795300) | Borderou de evaluare (job #2436218) | Borderou de evaluare (job #3256439)
Borderou de evaluare (job #3256439)
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;
| ^
main.cpp: In function 'int main()':
main.cpp:45:17: warning: unused variable 'st' [-Wunused-variable]
45 | int st=1,dr=n,v;
| ^~
main.cpp:45:22: warning: unused variable 'dr' [-Wunused-variable]
45 | int st=1,dr=n,v;
| ^~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | OK | 10 |
| 2 | 0ms | 303kb | OK | 10 |
| 3 | 2ms | 303kb | OK | 10 |
| 4 | 7ms | 557kb | OK | 10 |
| 5 | 14ms | 688kb | OK | 10 |
| 6 | 24ms | 901kb | OK | 10 |
| 7 | 24ms | 991kb | OK | 10 |
| 8 | 38ms | 1159kb | OK | 10 |
| 9 | 38ms | 1204kb | OK | 10 |
| 10 | 38ms | 1159kb | OK | 10 |
| Punctaj total | 100 |