Pagini recente » Atasamentele paginii Ratinguri TopCoder | Borderou de evaluare (job #1421995) | Minge | Borderou de evaluare (job #60719) | Borderou de evaluare (job #3199780)
Borderou de evaluare (job #3199780)
Raport evaluator
Compilare:
main.cpp: In function 'void f(int)':
main.cpp:26:24: warning: comparison of integer expressions of different signedness: 'std::vector<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
26 | if (leftArr.size() == halfSize && rightArr.size() == halfSize){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~
main.cpp:26:55: warning: comparison of integer expressions of different signedness: 'std::vector<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
26 | if (leftArr.size() == halfSize && rightArr.size() == halfSize){
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
main.cpp:31:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | for (int i=0; i<leftArr.size() && ok == 1; ++i){
| ~^~~~~~~~~~~~~~~
main.cpp:38:24: warning: comparison of integer expressions of different signedness: 'std::vector<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
38 | if (correct.size() == halfSize){ // am gasit desa sirul care trebuie format
| ~~~~~~~~~~~~~~~^~~~~~~~~~~
main.cpp:39:28: warning: comparison of integer expressions of different signedness: 'std::vector<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
39 | if (leftArr.size() < halfSize){
| ~~~~~~~~~~~~~~~^~~~~~~~~~
main.cpp:45:29: warning: comparison of integer expressions of different signedness: 'std::vector<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
45 | if (rightArr.size() < halfSize){
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
main.cpp:53:28: warning: comparison of integer expressions of different signedness: 'std::vector<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
53 | if (leftArr.size() < halfSize){
| ~~~~~~~~~~~~~~~^~~~~~~~~~
main.cpp:58:29: warning: comparison of integer expressions of different signedness: 'std::vector<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
58 | if (rightArr.size() < halfSize){
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 1ms | 303kb | Incorect | 0 |
| 2 | 0ms | 303kb | OK | 10 |
| 3 | 0ms | 303kb | OK | 10 |
| 4 | 59ms | 303kb | OK | 10 |
| 5 | 203ms | 303kb | Time limit exceeded | 0 |
| 6 | 203ms | 303kb | Time limit exceeded | 0 |
| 7 | 203ms | 303kb | Time limit exceeded | 0 |
| 8 | 203ms | 303kb | Time limit exceeded | 0 |
| 9 | 202ms | 303kb | Time limit exceeded | 0 |
| 10 | 203ms | 303kb | Time limit exceeded | 0 |
| Punctaj total | 30 |