Borderou de evaluare (job #2784272)

Utilizator PetraPetra Hedesiu Petra Data 16 octombrie 2021 11:11:55
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int tokenizing()': main.cpp:16:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 16 | for (int i=0; i<s.size(); i++) | ~^~~~~~~~~ main.cpp:28:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 28 | while (j<s.size() && s[j]!=' ' && s[j]!=')' && s[j]!='(') | ~^~~~~~~~~ main.cpp:14:10: warning: unused variable 'cc' [-Wunused-variable] 14 | char cc; | ^~ main.cpp:54:1: warning: no return statement in function returning non-void [-Wreturn-type] 54 | } | ^ main.cpp: In function 'int get_value()': main.cpp:84:24: warning: array subscript has type 'char' [-Wchar-subscripts] 84 | cc=vars[v[i][0]]; | ^ main.cpp: In function 'int solve_and()': main.cpp:94:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 94 | if (i<v.size() && v[i]=="AND") | ~^~~~~~~~~ main.cpp: In function 'int solve_or()': main.cpp:106:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 106 | if (i<v.size() && v[i]=="OR") | ~^~~~~~~~~ main.cpp: In function 'int main()': main.cpp:121:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 121 | for (int i=0; i<s.size(); i++) | ~^~~~~~~~~ main.cpp:123:18: warning: array subscript has type 'char' [-Wchar-subscripts] 123 | vars[s[i]]^=1; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1100ms47783kbTime limit exceeded0
2103ms42856kbTime limit exceeded0
3100ms40243kbTime limit exceeded0
4102ms45215kbTime limit exceeded0
5105ms24195kbTime limit exceeded0
6101ms53055kbTime limit exceeded0
7101ms44171kbTime limit exceeded0
8104ms52641kbTime limit exceeded0
9103ms45813kbTime limit exceeded0
10100ms42319kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?