Pagini recente » Borderou de evaluare (job #982438) | Borderou de evaluare (job #2957926) | Borderou de evaluare (job #1095396) | Borderou de evaluare (job #1703179) | Borderou de evaluare (job #2917725)
Borderou de evaluare (job #2917725)
Raport evaluator
Compilare:
main.cpp: In member function 'void tip_arbore::build(std::vector<int>, int, int, int)':
main.cpp:28:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | if(lx < a.size())
| ~~~^~~~~~~~~~
main.cpp: In member function 'int tip_arbore::get_max(int, int, int, int, int)':
main.cpp:69:39: warning: 'rez2' may be used uninitialized in this function [-Wmaybe-uninitialized]
69 | int mij =(lx + rx) / 2, rez1, rez2;
| ^~~~
main.cpp:69:39: warning: 'rez2' may be used uninitialized in this function [-Wmaybe-uninitialized]
main.cpp:69:33: warning: 'rez1' may be used uninitialized in this function [-Wmaybe-uninitialized]
69 | int mij =(lx + rx) / 2, rez1, rez2;
| ^~~~
main.cpp:69:33: warning: 'rez1' may be used uninitialized in this function [-Wmaybe-uninitialized]
main.cpp:69:39: warning: 'rez2' may be used uninitialized in this function [-Wmaybe-uninitialized]
69 | int mij =(lx + rx) / 2, rez1, rez2;
| ^~~~
main.cpp:69:33: warning: 'rez1' may be used uninitialized in this function [-Wmaybe-uninitialized]
69 | int mij =(lx + rx) / 2, rez1, rez2;
| ^~~~
main.cpp: In function 'int main()':
main.cpp:69:39: warning: 'rez2' may be used uninitialized in this function [-Wmaybe-uninitialized]
69 | int mij =(lx + rx) / 2, rez1, rez2;
| ^~~~
main.cpp:69:39: warning: 'rez2' may be used uninitialized in this function [-Wmaybe-uninitialized]
main.cpp:69:39: warning: 'rez2' may be used uninitialized in this function [-Wmaybe-uninitialized]
main.cpp:69:33: warning: 'rez1' may be used uninitialized in this function [-Wmaybe-uninitialized]
69 | int mij =(lx + rx) / 2, rez1, rez2;
| ^~~~
main.cpp:69:33: warning: 'rez1' may be used uninitialized in this function [-Wmaybe-uninitialized]
main.cpp:69:39: warning: 'rez2' may be used uninitialized in this function [-Wmaybe-uninitialized]
69 | int mij =(lx + rx) / 2, rez1, rez2;
| ^~~~
main.cpp:69:33: warning: 'rez1' may be used uninitialized in this function [-Wmaybe-uninitialized]
69 | int mij =(lx + rx) / 2, rez1, rez2;
| ^~~~
main.cpp:69:33: warning: 'rez1' may be used uninitialized in this function [-Wmaybe-uninitialized]
main.cpp:69:39: warning: 'rez2' may be used uninitialized in this function [-Wmaybe-uninitialized]
69 | int mij =(lx + rx) / 2, rez1, rez2;
| ^~~~
main.cpp:69:39: warning: 'rez2' may be used uninitialized in this function [-Wmaybe-uninitialized]
main.cpp:69:33: warning: 'rez1' may be used uninitialized in this function [-Wmaybe-uninitialized]
69 | int mij =(lx + rx) / 2, rez1, rez2;
| ^~~~
main.cpp:69:39: warning: 'rez2' may be used uninitialized in this function [-Wmaybe-uninitialized]
69 | int mij =(lx + rx) / 2, rez1, rez2;
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 1ms | 274kb | OK | 10 | 10 |
2 | 3ms | 184kb | OK | 10 | 10 |
3 | 19ms | 430kb | OK | 10 | 10 |
4 | 162ms | 647kb | OK | 10 | 10 |
5 | 501ms | 6987kb | Time limit exceeded | 0 | 0 |
6 | 504ms | 8540kb | Time limit exceeded | 0 | 0 |
7 | 504ms | 9363kb | Time limit exceeded | 0 |
8 | 501ms | 8224kb | Time limit exceeded | 0 |
9 | 503ms | 8953kb | Time limit exceeded | 0 |
10 | 503ms | 9359kb | Time limit exceeded | 0 |
Punctaj total | 40 |