Pagini recente » Borderou de evaluare (job #1340825) | Borderou de evaluare (job #1468880) | Borderou de evaluare (job #1503678) | Borderou de evaluare (job #1229911) | Borderou de evaluare (job #3033501)
Borderou de evaluare (job #3033501)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
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 i = 1; i < in.size(); i++)
| ~~^~~~~~~~~~~
main.cpp:54:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
54 | for(int i = 1; i < a.size(); i++)
| ~~^~~~~~~~~~
main.cpp:62:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | for(int i = 1; i < b.size(); i++)
| ~~^~~~~~~~~~
main.cpp:71:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
71 | for(int i = 1; i < ab.size(); i++)
| ~~^~~~~~~~~~~
main.cpp:76:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
76 | for(; nrab <= ab.size(); nrab++)
| ~~~~~^~~~~~~~~~~~
main.cpp:81:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | if (nra <= a.size() && nrb <= b.size() && nrab + nra + nrb <= s)
| ~~~~^~~~~~~~~~~
main.cpp:81:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | if (nra <= a.size() && nrb <= b.size() && nrab + nra + nrb <= s)
| ~~~~^~~~~~~~~~~
main.cpp:87:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
87 | long long int x = nra < a.size() ? sa[nra + 1] - sa[nra] : LLONG_MAX - 1;
| ~~~~^~~~~~~~~~
main.cpp:88:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
88 | long long int y = nrb < b.size() ? sb[nrb + 1] - sb[nrb] : LLONG_MAX - 1;
| ~~~~^~~~~~~~~~
main.cpp:89:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
89 | long long int z = nrin < in.size() ? sina[nrin + 1] - sina[nrin] : LLONG_MAX - 1;
| ~~~~~^~~~~~~~~~~
main.cpp:100:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
100 | for(; nrab <= ab.size();)
| ~~~~~^~~~~~~~~~~~
main.cpp:119:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
119 | long long int x = nra < a.size() && nra > 0 ? sa[nra] - sa[nra - 1] : LLONG_MAX - 1;
| ~~~~^~~~~~~~~~
main.cpp:120:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
120 | long long int y = nrb < b.size() && nrb > 0 ? sb[nrb] - sb[nrb - 1] : LLONG_MAX - 1;
| ~~~~^~~~~~~~~~
main.cpp:121:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
121 | long long int z = nrin < in.size() && nrin > 0 ? sina[nrin] - sina[nrin - 1] : LLONG_MAX - 1;
| ~~~~~^~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Incorect | 0 |
2 | 0ms | 303kb | Incorect | 0 |
3 | 0ms | 303kb | OK | 10 |
4 | 0ms | 303kb | OK | 10 |
5 | 0ms | 303kb | Incorect | 0 |
6 | 4ms | 1470kb | OK | 10 |
7 | 6ms | 1990kb | OK | 10 |
8 | 9ms | 2510kb | OK | 10 |
9 | 9ms | 2772kb | OK | 10 |
10 | 9ms | 3031kb | OK | 10 |
Punctaj total | 70 |