Pagini recente » Borderou de evaluare (job #2556311) | Borderou de evaluare (job #2486679) | Borderou de evaluare (job #441266) | Borderou de evaluare (job #1283096) | Borderou de evaluare (job #2999602)
Borderou de evaluare (job #2999602)
Raport evaluator
Compilare:
main.cpp: In function 'void Build(int, int, int)':
main.cpp:36:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | while(i<x[nod*2].size() && j<x[nod*2+1].size())
| ~^~~~~~~~~~~~~~~~
main.cpp:36:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | while(i<x[nod*2].size() && j<x[nod*2+1].size())
| ~^~~~~~~~~~~~~~~~~~
main.cpp:40:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | while(i<x[nod*2].size())
| ~^~~~~~~~~~~~~~~~
main.cpp:45:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | while(j<x[nod*2+1].size())
| ~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'void Update(int, int, int, int)':
main.cpp:67:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
67 | while(i<x[nod*2].size() && j<x[nod*2+1].size())
| ~^~~~~~~~~~~~~~~~
main.cpp:67:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
67 | while(i<x[nod*2].size() && j<x[nod*2+1].size())
| ~^~~~~~~~~~~~~~~~~~
main.cpp:71:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
71 | while(i<x[nod*2].size())
| ~^~~~~~~~~~~~~~~~
main.cpp:76:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
76 | while(j<x[nod*2+1].size())
| ~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int CB(int, int, int)':
main.cpp:24:1: warning: control reaches end of non-void function [-Wreturn-type]
24 | }
| ^
main.cpp: In function 'int CautareB(int, int, int, int)':
main.cpp:107:9: warning: 'v1' may be used uninitialized [-Wmaybe-uninitialized]
107 | return v1;
| ^~
main.cpp:98:23: note: 'v1' was declared here
98 | {int st=1, dr=n, mij, v1;
| ^~
main.cpp: In function 'int main()':
main.cpp:135:40: warning: 'v1' may be used uninitialized [-Wmaybe-uninitialized]
135 | fout<<val[CautareB(a, b, k, n)]<<"\n";
| ^~~~
main.cpp:98:23: note: 'v1' was declared here
98 | {int st=1, dr=n, mij, v1;
| ^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 262ms | 3051kb | OK | 10 |
2 | 1003ms | 5349kb | Time limit exceeded | 0 |
3 | 1002ms | 5947kb | Time limit exceeded | 0 |
4 | 27ms | 8261kb | Killed by Signal 7 | 0 |
5 | 39ms | 5419kb | Killed by Signal 11 | 0 |
6 | 32ms | 9224kb | Killed by Signal 7 | 0 |
7 | 32ms | 9523kb | Killed by Signal 7 | 0 |
8 | 41ms | 5648kb | Killed by Signal 11 | 0 |
9 | 35ms | 5656kb | Killed by Signal 7 | 0 |
10 | 26ms | 4780kb | Killed by Signal 11 | 0 |
Punctaj total | 10 |