Pagini recente »
Borderou de evaluare (job #57397)
|
Borderou de evaluare (job #230815)
|
Borderou de evaluare (job #745599)
|
Borderou de evaluare (job #366432)
|
Borderou de evaluare (job #689772)
Borderou de evaluare (job #689772)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:27:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
27 | if(n - 1 != -1 && n != cifra.size() - 1){
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp:28:66: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
28 | if((cifra[n-1] != '+' && cifra[n-1] != '-') || n != cifra.size() - 1){
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp:34:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
34 | if(e + 2 != cifra.size()){
| ~~~~~~^~~~~~~~~~~~~~~
main.cpp:38:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
38 | if(e + 1 != cifra.size()){
| ~~~~~~^~~~~~~~~~~~~~~
main.cpp:47:65: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
47 | if((cifra[e - 1] != '+' && cifra[e - 1] != '-' && e != cifra.size() - 1)){
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp:49:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
49 | if(e + 2 != cifra.size()){
| ~~~~~~^~~~~~~~~~~~~~~
main.cpp:53:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
53 | if(e + 1 != cifra.size()){
| ~~~~~~^~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
110 kb
|
Incorect
|
0
|
2
|
1 ms
|
114 kb
|
Incorect
|
0
|
3
|
1 ms
|
114 kb
|
Incorect
|
0
|
4
|
1 ms
|
110 kb
|
Incorect
|
0
|
5
|
1 ms
|
241 kb
|
OK
|
10
|
6
|
15 ms
|
1167 kb
|
Memory limit exceeded
|
0
|
7
|
15 ms
|
503 kb
|
Incorect
|
0
|
8
|
19 ms
|
1560 kb
|
Memory limit exceeded
|
0
|
9
|
15 ms
|
2285 kb
|
Memory limit exceeded
|
0
|
10
|
11 ms
|
2351 kb
|
Memory limit exceeded
|
0
|
Punctaj total
|
10
|