Pagini recente » Borderou de evaluare (job #1885913) | Autentificare | Borderou de evaluare (job #1957085) | Borderou de evaluare (job #2305165) | Borderou de evaluare (job #2876454)
Borderou de evaluare (job #2876454)
Raport evaluator
Compilare:
main.cpp: In function 'int CheckStr(const string&, const string&, int)':
main.cpp:19:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | if (pos >= test.size() || (chr != '?' && test[pos] != chr)) {
| ~~~~^~~~~~~~~~~~~~
main.cpp: In function 'bool CompStr(const string&)':
main.cpp:45:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<elem>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | for (int index = 1; index < parsed.size(); index++) {
| ~~~~~~^~~~~~~~~~~~~~~
main.cpp:46:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<elem>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
46 | if (index == parsed.size() - 1 && parsed[index].sizm < 0) {
| ~~~~~~^~~~~~~~~~~~~~~~~~~~
main.cpp:47:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | if (sav2 - 1 - parsed[index].sizm < str.size()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
main.cpp:52:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | if (sav1 - 1 - parsed[index].sizm <= str.size()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
main.cpp:60:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | for (; sav1 + parsed[index].sizm <= str.size(); sav1++) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
main.cpp:75:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
75 | if (sav2 >= str.size()) {
| ~~~~~^~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 184kb | OK | 4 |
| 2 | 2ms | 184kb | OK | 4 |
| 3 | 2ms | 184kb | OK | 4 |
| 4 | 2ms | 184kb | OK | 4 |
| 5 | 2ms | 184kb | Incorect | 0 |
| 6 | 2ms | 184kb | Incorect | 0 |
| 7 | 2ms | 184kb | OK | 4 |
| 8 | 2ms | 184kb | Incorect | 0 |
| 9 | 2ms | 184kb | Incorect | 0 |
| 10 | 2ms | 184kb | Incorect | 0 |
| 11 | 2ms | 184kb | Incorect | 0 |
| 12 | 2ms | 184kb | Incorect | 0 |
| 13 | 2ms | 184kb | Incorect | 0 |
| 14 | 2ms | 184kb | Incorect | 0 |
| 15 | 2ms | 184kb | Incorect | 0 |
| 16 | 2ms | 184kb | Incorect | 0 |
| 17 | 2ms | 184kb | Incorect | 0 |
| 18 | 2ms | 184kb | Incorect | 0 |
| 19 | 2ms | 184kb | Incorect | 0 |
| 20 | 2ms | 184kb | Incorect | 0 |
| 21 | 2ms | 184kb | Incorect | 0 |
| 22 | 2ms | 200kb | Incorect | 0 |
| 23 | 2ms | 192kb | Incorect | 0 |
| 24 | 2ms | 196kb | Incorect | 0 |
| 25 | 2ms | 184kb | Incorect | 0 |
| Punctaj total | 20 |