Pagini recente » Cod sursa (job #328663) | Monitorul de evaluare | Cod sursa (job #2498890) | Cod sursa (job #3217091) | Borderou de evaluare (job #3282130)
Borderou de evaluare (job #3282130)
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 | Incorect | 0 |
| 2 | 0ms | 303kb | Incorect | 0 |
| 3 | 0ms | 303kb | Incorect | 0 |
| 4 | 0ms | 303kb | Incorect | 0 |
| 5 | 0ms | 303kb | Incorect | 0 |
| 6 | 0ms | 303kb | OK | 10 |
| 7 | 1ms | 303kb | Incorect | 0 |
| 8 | 1ms | 303kb | Incorect | 0 |
| 9 | 1ms | 303kb | Incorect | 0 |
| 10 | 2ms | 303kb | Incorect | 0 |
| Punctaj total | 10 |