Borderou de evaluare (job #2826132)

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

Raport evaluator

Compilare: main.cpp: In function 'std::vector<int> Add(std::vector<int>, std::vector<int>)': main.cpp:54:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 54 | while (i < x.size() || j < y.size() || t > 0) { | ~~^~~~~~~~~~ main.cpp:54:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 54 | while (i < x.size() || j < y.size() || t > 0) { | ~~^~~~~~~~~~ main.cpp:55:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 55 | if (i < x.size()) t += x[i]; | ~~^~~~~~~~~~ main.cpp:56:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 56 | if (j < y.size()) t += y[j]; | ~~^~~~~~~~~~ main.cpp: In function 'std::vector<int> SubTract(std::vector<int>, std::vector<int>)': main.cpp:71:14: 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.size() && j < y.size()) { | ~~^~~~~~~~~~ main.cpp:71:30: 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.size() && j < y.size()) { | ~~^~~~~~~~~~ main.cpp:72:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 72 | if (i < x.size()) t += x[i]; | ~~^~~~~~~~~~ main.cpp:73:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 73 | if (j < y.size()) t -= y[j]; | ~~^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:113:18: warning: unused variable 'ch' [-Wunused-variable] 113 | char ch = aux_x[j]; | ^~
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK10
21ms184kbIncorect0
32ms184kbOK10
42ms184kbIncorect0
52ms184kbIncorect0
62ms184kbIncorect0
76ms270kbIncorect0
825ms331kbIncorect0
925ms348kbIncorect0
10204ms688kbTime limit exceeded0
Punctaj total20

Ceva nu functioneaza?