Pagini recente » Borderou de evaluare (job #3121704) | Borderou de evaluare (job #726264) | Borderou de evaluare (job #183105) | Borderou de evaluare (job #837975) | Borderou de evaluare (job #3040582)
Borderou de evaluare (job #3040582)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(const std::string&, bool, int, int)':
main.cpp:10:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
10 | if (ptr == str.size() - 1) {
| ~~~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'int count(const std::string&, int, int)':
main.cpp:41:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | if (ptr == str.size() - 1) return graph[row][str[ptr - 1] - 'a'][str[ptr] - 'a'].words;
| ~~~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'int find_max(const std::string&, int, int)':
main.cpp:46:24: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
46 | if (str.size() - 1 == ptr) return 0;
| ~~~~~~~~~~~~~~~^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | Incorect | 0 | 0 |
2 | 0ms | 303kb | Incorect | 0 | 0 |
3 | 0ms | 303kb | Incorect | 0 | 0 |
4 | 0ms | 303kb | Incorect | 0 | 0 |
5 | 0ms | 303kb | Incorect | 0 | 0 |
6 | 0ms | 303kb | Incorect | 0 | 0 |
7 | 1ms | 303kb | Incorect | 0 | 0 |
8 | 1ms | 303kb | Incorect | 0 | 0 |
9 | 2ms | 303kb | Incorect | 0 | 0 |
10 | 2ms | 303kb | Incorect | 0 | 0 |
11 | 4ms | 303kb | Incorect | 0 | 0 |
12 | 5ms | 303kb | Incorect | 0 | 0 |
13 | 6ms | 303kb | Incorect | 0 | 0 |
14 | 4ms | 303kb | Incorect | 0 | 0 |
15 | 9ms | 557kb | Incorect | 0 | 0 |
16 | 9ms | 557kb | Incorect | 0 |
17 | 9ms | 557kb | Incorect | 0 | 0 |
18 | 9ms | 561kb | Incorect | 0 |
19 | 9ms | 557kb | Incorect | 0 | 0 |
20 | 9ms | 303kb | Incorect | 0 |
Punctaj total | 0 |