Borderou de evaluare (job #2826825)

Utilizator AlexandruabcdeDobleaga Alexandru Alexandruabcde Data 5 ianuarie 2022 12:47:12
Problema Tigri Status done
Runda Algoritmiada 2022 Runda 1 Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'std::vector<int> Add(std::vector<int>, std::vector<int>)': main.cpp:65:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 65 | while (i < x.size() || j < y.size() || t > 0) { | ~~^~~~~~~~~~ main.cpp:65:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 65 | while (i < x.size() || j < y.size() || t > 0) { | ~~^~~~~~~~~~ main.cpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 66 | if (i < x.size()) t += x[i]; | ~~^~~~~~~~~~ main.cpp:67:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 67 | if (j < y.size()) t += y[j]; | ~~^~~~~~~~~~ main.cpp: In function 'std::vector<int> SubTract(std::vector<int>, std::vector<int>)': main.cpp:82:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 82 | while (i < x.size() && j < y.size()) { | ~~^~~~~~~~~~ main.cpp:82:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 82 | while (i < x.size() && j < y.size()) { | ~~^~~~~~~~~~ main.cpp:83:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 83 | if (i < x.size()) t += x[i]; | ~~^~~~~~~~~~ main.cpp:84:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 84 | if (j < y.size()) t -= y[j]; | ~~^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:125:18: warning: unused variable 'ch' [-Wunused-variable] 125 | char ch = aux_x[j]; | ^~
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK10
22ms184kbOK10
32ms184kbOK10
42ms184kbIncorect0
52ms184kbIncorect0
62ms184kbIncorect0
72ms184kbIncorect0
825ms376kbIncorect0
925ms356kbIncorect0
10204ms1294kbTime limit exceeded0
Punctaj total30

Ceva nu functioneaza?