Pagini recente » Borderou de evaluare (job #1081304) | Borderou de evaluare (job #1076522) | Borderou de evaluare (job #2280918) | Borderou de evaluare (job #2474945) | Borderou de evaluare (job #2876439)
Borderou de evaluare (job #2876439)
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:42:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<elem>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
42 | for (int index = 1; index < parsed.size(); index++) {
| ~~~~~~^~~~~~~~~~~~~~~
main.cpp:43:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<elem>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | if (index == parsed.size() - 1 && parsed[index].sizm < 0) {
| ~~~~~~^~~~~~~~~~~~~~~~~~~~
main.cpp:44:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | if (sav2 - 1 - parsed[index].sizm < str.size()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
main.cpp:49:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
49 | if (sav1 - 1 - parsed[index].sizm <= str.size()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
main.cpp:57:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
57 | for (; sav1 + parsed[index].sizm <= str.size(); sav1++) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
main.cpp:72:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
72 | 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 | 184kb | Incorect | 0 |
23 | 2ms | 184kb | Incorect | 0 |
24 | 2ms | 184kb | Incorect | 0 |
25 | 2ms | 184kb | Incorect | 0 |
Punctaj total | 20 |