Pagini recente » Borderou de evaluare (job #2851849) | Borderou de evaluare (job #1860883) | Borderou de evaluare (job #1860901) | Borderou de evaluare (job #273941) | Borderou de evaluare (job #3326384)
Borderou de evaluare (job #3326384)
Raport evaluator
Compilare:
main.cpp: In function 'long long int Expresie(std::string&, long long int&)':
main.cpp:17:13: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | while (p<S.size() and S[p]=='|'){
| ~^~~~~~~~~
main.cpp: In function 'long long int Termen_OR(std::string&, long long int&)':
main.cpp:27:13: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | while (p<S.size() and S[p]=='&'){
| ~^~~~~~~~~
main.cpp: In function 'long long int Termen_AND(std::string&, long long int&)':
main.cpp:50:26: warning: array subscript has type 'char' [-Wchar-subscripts]
50 | else val = v[S[p]];
| ^
main.cpp: In function 'int main()':
main.cpp:63:13: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
63 | while (I<init.size()){
| ~^~~~~~~~~~~~
main.cpp:68:37: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
68 | if (init[I]=='T' and I+3<init.size() and init[I+1]=='R' and init[I+2]=='U' and init[I+3]=='E'){
| ~~~^~~~~~~~~~~~
main.cpp:71:43: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
71 | }else if (init[I]=='F' and I+4<init.size() and init[I+1]=='A' and init[I+2]=='L' and init[I+3]=='S' and init[I+4]=='E'){
| ~~~^~~~~~~~~~~~
main.cpp:74:43: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
74 | }else if (init[I]=='A' and I+2<init.size() and init[I+1]=='N' and init[I+2]=='D'){
| ~~~^~~~~~~~~~~~
main.cpp:77:43: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
77 | }else if (init[I]=='O' and I+1<init.size() and init[I+1]=='R'){
| ~~~^~~~~~~~~~~~
main.cpp:80:43: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
80 | }else if (init[I]=='N' and I+2<init.size() and init[I+1]=='O' and init[I+2]=='T'){
| ~~~^~~~~~~~~~~~
main.cpp:97:11: warning: array subscript has type 'char' [-Wchar-subscripts]
97 | v[x] = 1-v[x];
| ^
main.cpp:97:20: warning: array subscript has type 'char' [-Wchar-subscripts]
97 | v[x] = 1-v[x];
| ^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | OK | 10 |
| 2 | 0ms | 303kb | OK | 10 |
| 3 | 0ms | 303kb | OK | 10 |
| 4 | 0ms | 303kb | OK | 10 |
| 5 | 0ms | 303kb | OK | 10 |
| 6 | 0ms | 303kb | OK | 10 |
| 7 | 0ms | 303kb | OK | 10 |
| 8 | 0ms | 303kb | OK | 10 |
| 9 | 0ms | 303kb | OK | 10 |
| 10 | 0ms | 303kb | OK | 10 |
| Punctaj total | 100 |