Borderou de evaluare (job #2784275)

Utilizator PetraPetra Hedesiu Petra Data 16 octombrie 2021 11:17:15
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
1100ms41615kbTime limit exceeded0
2104ms46243kbTime limit exceeded0
3101ms34070kbTime limit exceeded0
4104ms43819kbTime limit exceeded0
5101ms27693kbTime limit exceeded0
6100ms44920kbTime limit exceeded0
7104ms45326kbTime limit exceeded0
8102ms45596kbTime limit exceeded0
9102ms42790kbTime limit exceeded0
10102ms42455kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?