Pagini recente » Borderou de evaluare (job #146253) | Borderou de evaluare (job #973914) | Borderou de evaluare (job #3347258) | Borderou de evaluare (job #2853386) | Borderou de evaluare (job #3326337)
Borderou de evaluare (job #3326337)
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:26: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]
26 | while (p<S.size() and S[p]=='&'){
| ~^~~~~~~~~
main.cpp: In function 'long long int Termen_AND(std::string&, long long int&)':
main.cpp:49:26: warning: array subscript has type 'char' [-Wchar-subscripts]
49 | else val = v[S[p]];
| ^
main.cpp: In function 'int main()':
main.cpp:62: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]
62 | while (I<init.size()){
| ~^~~~~~~~~~~~
main.cpp:67: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]
67 | 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:70: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]
70 | }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:73: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]
73 | }else if (init[I]=='A' and I+2<init.size() and init[I+1]=='N' and init[I+2]=='D'){
| ~~~^~~~~~~~~~~~
main.cpp:76: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]
76 | }else if (init[I]=='O' and I+1<init.size() and init[I+1]=='R'){
| ~~~^~~~~~~~~~~~
main.cpp:79: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]
79 | }else if (init[I]=='N' and I+2<init.size() and init[I+1]=='O' and init[I+2]=='T'){
| ~~~^~~~~~~~~~~~
main.cpp:95:11: warning: array subscript has type 'char' [-Wchar-subscripts]
95 | v[x] = 1-v[x];
| ^
main.cpp:95:20: warning: array subscript has type 'char' [-Wchar-subscripts]
95 | 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 | Incorect | 0 |
| 6 | 0ms | 303kb | Incorect | 0 |
| 7 | 0ms | 303kb | OK | 10 |
| 8 | 0ms | 303kb | OK | 10 |
| 9 | 0ms | 303kb | OK | 10 |
| 10 | 0ms | 303kb | OK | 10 |
| Punctaj total | 80 |