Borderou de evaluare (job #3282154)

Utilizator iulia_morariuIuli Morariu iulia_morariu Data 4 martie 2025 17:44:06
Problema Free Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'std::vector<long long int> adunare(std::vector<long long int>&, std::vector<long long int>&, ll)': main.cpp:34:22: warning: comparison of integer expressions of different signedness: 'int' and 'const long unsigned int' [-Wsign-compare] 34 | for(int i = 0; i < max(A.size(), B.size()) || t > 0; i++){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:35:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 35 | if(i < A.size()) t += A[i]; | ~~^~~~~~~~~~ main.cpp:36:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 36 | if(i < B.size()) t += B[i]; | ~~^~~~~~~~~~ main.cpp: In function 'std::vector<long long int> inmultire(std::vector<long long int>&, std::vector<long long int>&, ll)': main.cpp:45:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 45 | for(int i = 0; i < A.size(); i++){ | ~~^~~~~~~~~~ main.cpp:46:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 46 | for(int j = 0; j < B.size(); j++) C[i + j] += A[i] * B[j]; | ~~^~~~~~~~~~ main.cpp:56:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 56 | for(int i = 0; i <= A.size() + B.size() - 2 || t > 0; i++){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:57:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 57 | if(i < C.size()){ | ~~^~~~~~~~~~ main.cpp: In function 'std::vector<long long int> scadere(std::vector<long long int>&, std::vector<long long int>&, ll)': main.cpp:73:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 73 | for(int i = 0; i < A.size(); i++){ | ~~^~~~~~~~~~ main.cpp:74:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 74 | if(i < B.size()) C.push_back(A[i] - B[i]); | ~~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
30ms303kbOK10
40ms303kbOK10
50ms303kbOK10
60ms303kbOK10
71ms303kbOK10
81ms303kbOK10
91ms303kbOK10
102ms303kbOK10
Punctaj total100

Ceva nu functioneaza?