Pagini recente » Borderou de evaluare (job #1271479) | Borderou de evaluare (job #721243) | Borderou de evaluare (job #2246904) | Borderou de evaluare (job #998902) | Borderou de evaluare (job #2406115)
Borderou de evaluare (job #2406115)
Raport evaluator
Compilare:
main.cpp: In function 'int LowerBound(int, int, int, int)':
main.cpp:83:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.cpp: In function 'int UpperBound(int, int, int, int)':
main.cpp:95:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.cpp: In function 'void RMQ()':
main.cpp:35:15: warning: iteration 1000 invokes undefined behavior [-Waggressive-loop-optimizations]
lg[i] = lg[i/2] + 1;
~~~~~~^~~~~~~~~~~~~
main.cpp:34:23: note: within this loop
for( int i = 3; i <= NMAX; ++i)
~~^~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 20ms | 2883kb | OK | 10 |
2 | 84ms | 6422kb | OK | 10 |
3 | 209ms | 10354kb | OK | 10 |
4 | 400ms | 14155kb | OK | 10 |
5 | 598ms | 18350kb | OK | 10 |
6 | 1246ms | 29360kb | OK | 10 |
7 | 1223ms | 27131kb | OK | 10 |
8 | 1607ms | 31457kb | OK | 10 |
9 | 2036ms | 36175kb | OK | 10 |
10 | 2565ms | 40460kb | OK | 10 |
Punctaj total | 100 |