Borderou de evaluare (job #2839573)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:27:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | for (int i = 0; i < s1.size(); i++)
| ~~^~~~~~~~~~~
main.cpp:31:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | for (int i = 0; i < s2.size(); i++)
| ~~^~~~~~~~~~~
main.cpp:45:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | for (int i = 0; i < s1.size(); i++)
| ~~^~~~~~~~~~~
main.cpp:63:38: warning: array subscript has type 'char' [-Wchar-subscripts]
63 | av -= ((f2[pos[i]] > f1[pos[i]] - 1) ? 1 : 0);
| ^
main.cpp:63:51: warning: array subscript has type 'char' [-Wchar-subscripts]
63 | av -= ((f2[pos[i]] > f1[pos[i]] - 1) ? 1 : 0);
| ^
main.cpp:71:38: warning: array subscript has type 'char' [-Wchar-subscripts]
71 | av -= ((f2[pos[i]] > f1[pos[i]] - 1) ? 1 : 0)
| ^
main.cpp:71:51: warning: array subscript has type 'char' [-Wchar-subscripts]
71 | av -= ((f2[pos[i]] > f1[pos[i]] - 1) ? 1 : 0)
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | Fisierul de iesire nu contine t linii. | 0 |
2 | 2ms | 184kb | Fisierul de iesire nu contine t linii. | 0 |
3 | 2ms | 184kb | Fisierul de iesire nu contine t linii. | 0 |
4 | 189ms | 212kb | Fisierul de iesire nu contine t linii. | 0 |
5 | 2ms | 184kb | Fisierul de iesire nu contine t linii. | 0 |
6 | 16ms | 262kb | Fisierul de iesire nu contine t linii. | 0 |
7 | 180ms | 278kb | Fisierul de iesire nu contine t linii. | 0 |
8 | 40ms | 704kb | Fisierul de iesire nu contine t linii. | 0 |
9 | 117ms | 962kb | Fisierul de iesire nu contine t linii. | 0 |
10 | 112ms | 921kb | Fisierul de iesire nu contine t linii. | 0 |
11 | 64ms | 651kb | Fisierul de iesire nu contine t linii. | 0 |
12 | 112ms | 1015kb | Fisierul de iesire nu contine t linii. | 0 |
Punctaj total | 0 |