Pagini recente » Borderou de evaluare (job #3279090) | Borderou de evaluare (job #2604970) | Borderou de evaluare (job #3226480) | Borderou de evaluare (job #3222378) | Borderou de evaluare (job #3141747)
Borderou de evaluare (job #3141747)
Raport evaluator
Compilare:
main.cpp: In constructor 'node::node(int, int)':
main.cpp:25:45: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
25 | node(int l, int r) : lo(l), hi(r), mid(l+r>>1), ma(0ll), delta(0ll) {
| ~^~
main.cpp: In function 'int main()':
main.cpp:112:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
112 | while (ptr < events.size() && events[ptr].first == i && events[ptr].second == 0) {
| ~~~~^~~~~~~~~~~~~~~
main.cpp:118:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
118 | while (ptr < events.size() && events[ptr].first == i && events[ptr].second == 1) {
| ~~~~^~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | OK | 10 | 20 |
2 | 0ms | 303kb | OK | 10 |
3 | 1ms | 557kb | OK | 10 | 40 |
4 | 1ms | 557kb | OK | 10 |
5 | 1ms | 557kb | OK | 10 |
6 | 1ms | 557kb | OK | 10 |
7 | 79ms | 17842kb | OK | 10 | 40 |
8 | 79ms | 18944kb | OK | 10 |
9 | 83ms | 19013kb | OK | 10 |
10 | 79ms | 16179kb | OK | 10 |
Punctaj total | 100 |