Borderou de evaluare (job #3281799)

Utilizator iulia_morariuIuli Morariu iulia_morariu Data 3 martie 2025 17:41:13
Problema Free Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'std::vector<int> adunare(std::vector<int>&, std::vector<int>&, int)': main.cpp:31:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 31 | for(int i = 0; i < A.size() || t > 0; i++){ | ~~^~~~~~~~~~ main.cpp:32:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 32 | if(i < A.size()) t += A[i]; | ~~^~~~~~~~~~ main.cpp:33:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 33 | if(i < B.size()) t += B[i]; | ~~^~~~~~~~~~ main.cpp: In function 'std::vector<int> inmultire(std::vector<int>&, std::vector<int>&, int)': main.cpp:42:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 42 | for(int i = 0; i < A.size(); i++){ | ~~^~~~~~~~~~ main.cpp:43:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 43 | for(int j = 0; j < B.size(); j++) C[i + j] += A[i] * B[j]; | ~~^~~~~~~~~~ main.cpp:47:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 47 | for(int i = 0; i < A.size() + B.size() - 2 || t > 0; i++){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:48:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 48 | if(i < C.size()) t += C[i]; | ~~^~~~~~~~~~ main.cpp:49:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 49 | if(i + 1 < C.size()) C[i + 1] += t % baza; | ~~~~~~^~~~~~~~~~ main.cpp: In function 'std::vector<int> scadere(std::vector<int>&, std::vector<int>&, int)': main.cpp:59:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 59 | for(int i = 0; i < A.size(); i++){ | ~~^~~~~~~~~~ main.cpp:60:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 60 | if(i < B.size()) C.push_back(A[i] - B[i]); | ~~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
129ms303kbTime limit exceeded0
229ms303kbTime limit exceeded0
31ms303kbIncorect0
41ms303kbIncorect0
51ms303kbIncorect0
629ms21045kbTime limit exceeded0
71ms303kbIncorect0
81ms303kbIncorect0
91ms303kbIncorect0
101ms303kbIncorect0
Punctaj total0

Ceva nu functioneaza?