Pagini recente » Borderou de evaluare (job #2861229) | Borderou de evaluare (job #1514606) | Borderou de evaluare (job #2757608) | Borderou de evaluare (job #2570534) | Borderou de evaluare (job #3282154)
Borderou de evaluare (job #3282154)
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 |
1 | 0ms | 303kb | OK | 10 |
2 | 0ms | 303kb | OK | 10 |
3 | 0ms | 303kb | OK | 10 |
4 | 0ms | 303kb | OK | 10 |
5 | 0ms | 303kb | OK | 10 |
6 | 0ms | 303kb | OK | 10 |
7 | 1ms | 303kb | OK | 10 |
8 | 1ms | 303kb | OK | 10 |
9 | 1ms | 303kb | OK | 10 |
10 | 2ms | 303kb | OK | 10 |
Punctaj total | 100 |