Pagini recente » Borderou de evaluare (job #2352936) | Borderou de evaluare (job #847913) | Borderou de evaluare (job #385623) | Borderou de evaluare (job #2451403) | Borderou de evaluare (job #2974833)
Borderou de evaluare (job #2974833)
Raport evaluator
Compilare:
main.cpp: In function 'void simplifica()':
main.cpp:11:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | while(i<ss.size())
| ~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:28:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | for(int i=0; i<modif.size(); ++i)
| ~^~~~~~~~~~~~~
main.cpp:30:21: warning: array subscript has type 'char' [-Wchar-subscripts]
30 | val[modif[i]]=!val[modif[i]],j=0 ;
| ^
main.cpp:30:36: warning: array subscript has type 'char' [-Wchar-subscripts]
30 | val[modif[i]]=!val[modif[i]],j=0 ;
| ^
main.cpp: In function 'bool termen()':
main.cpp:59:40: warning: array subscript has type 'char' [-Wchar-subscripts]
59 | else if(isalpha(s[j])) cnt=val[s[j]] ;
| ^
main.cpp:60:17: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized]
60 | if(!how) cnt=!cnt ;
| ~~~^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 188kb | OK | 10 |
2 | 0ms | 184kb | Incorect | 0 |
3 | 0ms | 184kb | Incorect | 0 |
4 | 0ms | 184kb | Incorect | 0 |
5 | 0ms | 184kb | OK | 10 |
6 | 0ms | 184kb | OK | 10 |
7 | 0ms | 184kb | OK | 10 |
8 | 0ms | 184kb | OK | 10 |
9 | 0ms | 184kb | OK | 10 |
10 | 0ms | 184kb | Incorect | 0 |
Punctaj total | 60 |