Borderou de evaluare (job #2999602)

Utilizator Luca529Taschina Luca Luca529 Data 11 martie 2023 10:51:23
Problema Mess Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

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
1262ms3051kbOK10
21003ms5349kbTime limit exceeded0
31002ms5947kbTime limit exceeded0
427ms8261kbKilled by Signal 70
539ms5419kbKilled by Signal 110
632ms9224kbKilled by Signal 70
732ms9523kbKilled by Signal 70
841ms5648kbKilled by Signal 110
935ms5656kbKilled by Signal 70
1026ms4780kbKilled by Signal 110
Punctaj total10

Ceva nu functioneaza?