Borderou de evaluare (job #2962898)

Utilizator lucaxsofLuca Sofronie lucaxsof Data 9 ianuarie 2023 19:00:10
Problema Logic Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void read()': main.cpp:51:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 51 | for (int i = 0; i < a.size(); ++i) | ~~^~~~~~~~~~ main.cpp:56:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 56 | for (int i = 0; i < b.size() && ok; ++i) | ~~^~~~~~~~~~ main.cpp: In function 'void solve()': main.cpp:86:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 86 | for (int i = 0; i < a.size(); i++) | ~~^~~~~~~~~~ main.cpp:100:31: error: too many arguments to function 'bool expresie()' 100 | bool rez1 = expresie(a); | ^ main.cpp:37:6: note: declared here 37 | bool expresie(); | ^~~~~~~~ main.cpp:102:31: error: too many arguments to function 'bool expresie()' 102 | bool rez2 = expresie(b); | ^ main.cpp:37:6: note: declared here 37 | bool expresie(); | ^~~~~~~~ main.cpp: In function 'bool expresie(std::string)': main.cpp:118:26: error: too many arguments to function 'bool factor1()' 118 | bool rez = factor1(a1); | ^ main.cpp:38:6: note: declared here 38 | bool factor1(); | ^~~~~~~ main.cpp:122:26: error: too many arguments to function 'bool factor1()' 122 | rez = (factor1(a1) || rez); | ^ main.cpp:38:6: note: declared here 38 | bool factor1(); | ^~~~~~~ main.cpp: In function 'bool factor1(std::string)': main.cpp:129:26: error: too many arguments to function 'bool factor2()' 129 | bool rez = factor2(a1); | ^ main.cpp:39:6: note: declared here 39 | bool factor2(); | ^~~~~~~ main.cpp:133:26: error: too many arguments to function 'bool factor2()' 133 | rez = (factor2(a1) ^ rez); | ^ main.cpp:39:6: note: declared here 39 | bool factor2(); | ^~~~~~~ main.cpp: In function 'bool factor2(std::string)': Non zero exit status: 1

Ceva nu functioneaza?