Pagini recente » Borderou de evaluare (job #1479194) | Borderou de evaluare (job #1738810) | Borderou de evaluare (job #1338033) | Borderou de evaluare (job #1605660) | Borderou de evaluare (job #2831074)
Borderou de evaluare (job #2831074)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:91:24: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
91 | if(s.find('x' , 0) > egal)
| ~~~~~~~~~~~~~~~~^~~~~~
main.cpp:95:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
95 | for(int i = egal + 1; i <= s.length();i++)
| ~~^~~~~~~~~~~~~
main.cpp:97:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
97 | if(i == s.length())
| ~~^~~~~~~~~~~~~
main.cpp:118:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
118 | if(semn == '-')
| ^~
main.cpp:120:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
120 | if(isdigit(s[i - 1]))
| ^~
main.cpp:146:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
146 | else
| ^~~~
main.cpp:156:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
156 | semn = '-';
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | OK! | 10 |
2 | 2ms | 184kb | OK! | 10 |
3 | 2ms | 184kb | OK! | 10 |
4 | 2ms | 184kb | OK! | 10 |
5 | 2ms | 184kb | OK! | 10 |
6 | 2ms | 184kb | OK! | 10 |
7 | 2ms | 184kb | OK! | 10 |
8 | 2ms | 184kb | OK! | 10 |
9 | 2ms | 184kb | OK! | 10 |
10 | 2ms | 184kb | OK! | 10 |
Punctaj total | 100 |