Borderou de evaluare (job #3282781)

Utilizator iulia_morariuIuli Morariu iulia_morariu Data 6 martie 2025 19:43:54
Problema Puternic Status done
Runda Arhiva de probleme 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:25:22: warning: comparison of integer expressions of different signedness: 'int' and 'const long unsigned int' [-Wsign-compare] 25 | for(int i = 0; i < max(B.size(), A.size()) || t > 0; i++){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:26:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 26 | if(i < A.size()) t += A[i]; | ~~^~~~~~~~~~ main.cpp:27:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 27 | if(i < B.size()) t += B[i]; | ~~^~~~~~~~~~ main.cpp: In function 'std::vector<int> inmultire(std::vector<int>, std::vector<int>)': main.cpp:39:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 39 | for(int i = 0; i < A.size(); i++){ | ~~^~~~~~~~~~ main.cpp:40:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 40 | for(int j = 0; j < B.size(); j++){ | ~~^~~~~~~~~~ main.cpp:45:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 45 | for(int i = 0; i <= A.size() + B.size() - 2 || t > 0; i++){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:46:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 46 | if(i < C.size()){ | ~~^~~~~~~~~~ main.cpp: In function 'std::vector<int> inmultire_mic(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() || t > 0; 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 < A.size()) t = t + A[i] * B; | ~~^~~~~~~~~~ main.cpp: In function 'std::vector<int> exp(ull, ull)': main.cpp:105:22: warning: comparison of integer expressions of different signedness: 'int' and 'ull' {aka 'long long unsigned int'} [-Wsign-compare] 105 | for(int i = 0; i < e; i++) p = inmultire_mic(p, b); | ~~^~~ main.cpp: In function 'int main()': main.cpp:153:56: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 153 | if(dp[ i * (k + 1) ][j + 1].size() != sizeP) mai_mic = (dp[ i * (k + 1) ][j + 1].size() > sizeP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ main.cpp:153:109: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 153 | if(dp[ i * (k + 1) ][j + 1].size() != sizeP) mai_mic = (dp[ i * (k + 1) ][j + 1].size() > sizeP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ main.cpp:198:20: warning: comparison of integer expressions of different signedness: 'std::stack<std::vector<int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 198 | while(s.size() > n) s.pop(); | ~~~~~~~~~^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
124ms528kbOK10
224ms524kbOK10
324ms524kbIncorect0
424ms528kbIncorect0
524ms524kbIncorect0
624ms528kbIncorect0
724ms528kbIncorect0
824ms524kbIncorect0
924ms528kbIncorect0
1024ms524kbIncorect0
Punctaj total20

Ceva nu functioneaza?