Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #3244740)
| Utilizator | Data | 26 septembrie 2024 11:58:08 | |
|---|---|---|---|
| Problema | Lowest Common Ancestor | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
main.cpp: In function 'long long int rmq(long long int, long long int)':
main.cpp:152:27: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
152 | if(lblock >= blockMask.size())
| ~~~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp:165:27: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
165 | if(rblock >= blockMask.size())
| ~~~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void genStructures()':
main.cpp:205:49: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
205 | precBlock = vec<vec<vec<ll>>>((1ll << k - 1) + 5, vec<vec<ll>>(k, vec<ll>(k, -1)));
| ~~^~~
main.cpp:243:35: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
243 | for(ll i = 0; lbi * k + i < height.size(); i++)
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~
main.cpp:246:47: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
246 | for(ll j = i + 1; lbi * k + j < height.size(); j++)
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~
main.cpp:259:43: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
259 | for(ll j = 0; j + pw2 - 1 < st[i].size(); j++)
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test | Punctaj/grupa |
|---|---|---|---|---|---|
| 1 | 0ms | 303kb | OK | 10 | 10 |
| 2 | 0ms | 303kb | OK | 10 | 10 |
| 3 | 3ms | 1605kb | OK | 10 | 10 |
| 4 | 34ms | 8568kb | OK | 10 | 10 |
| 5 | 44ms | 13758kb | OK | 10 | 10 |
| 6 | 63ms | 13942kb | OK | 10 | 10 |
| 7 | 187ms | 27693kb | OK | 10 | 10 |
| 8 | 314ms | 16433kb | OK | 10 | 30 |
| 9 | 404ms | 17371kb | OK | 10 | |
| 10 | 448ms | 17879kb | OK | 10 | |
| Punctaj total | 100 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
