Pagini recente » Borderou de evaluare (job #52523) | Borderou de evaluare (job #2564286) | Borderou de evaluare (job #2983601) | Borderou de evaluare (job #410005) | Borderou de evaluare (job #2831485)
Borderou de evaluare (job #2831485)
Raport evaluator
Compilare:
main.cpp: In function 'void update(int, int)':
main.cpp:22:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | for (int i = x; i < aib.size(); i += last_bit(i))
| ~~^~~~~~~~~~~~
main.cpp: In function 'int query(int)':
main.cpp:31:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
31 | for (int i = x; i >= 1; i -= last_bit(i))
| ^~~
main.cpp:33:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
33 | return sol;
| ^~~~~~
main.cpp: In function 'int bs(int)':
main.cpp:52:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | if (ans + pas >= aib.size()) continue;
| ~~~~~~~~~~^~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | Incorect | 0 |
2 | 2ms | 184kb | Incorect | 0 |
3 | 6ms | 663kb | Incorect | 0 |
4 | 30ms | 741kb | Incorect | 0 |
5 | 64ms | 872kb | Incorect | 0 |
6 | 97ms | 974kb | Incorect | 0 |
7 | 103ms | 970kb | Incorect | 0 |
8 | 146ms | 1110kb | Incorect | 0 |
9 | 146ms | 1126kb | Incorect | 0 |
10 | 146ms | 1110kb | Incorect | 0 |
Punctaj total | 0 |