Pagini recente » Borderou de evaluare (job #20362) | Borderou de evaluare (job #2338517) | Borderou de evaluare (job #2392755) | Borderou de evaluare (job #1794460) | Borderou de evaluare (job #2831496)
Borderou de evaluare (job #2831496)
Raport evaluator
Compilare:
main.cpp: In function 'void update(int, int)':
main.cpp:20:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for(int i = poz; i < aib.size(); i += lsb(i)) aib[i] += val;
| ~~^~~~~~~~~~~~
main.cpp: In function 'int cb1(int)':
main.cpp:31:1: warning: no return statement in function returning non-void [-Wreturn-type]
31 | }
| ^
main.cpp: In function 'int cb2(int)':
main.cpp:36:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | if(ans + pas < aib.size() && sum + aib[ans + pas] <= x){
| ~~~~~~~~~~^~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | Incorect | 0 |
2 | 2ms | 184kb | Incorect | 0 |
3 | 6ms | 593kb | Incorect | 0 |
4 | 25ms | 716kb | Incorect | 0 |
5 | 54ms | 802kb | Incorect | 0 |
6 | 78ms | 831kb | Incorect | 0 |
7 | 88ms | 847kb | Incorect | 0 |
8 | 117ms | 864kb | Incorect | 0 |
9 | 122ms | 917kb | Incorect | 0 |
10 | 116ms | 856kb | Incorect | 0 |
Punctaj total | 0 |