Borderou de evaluare (job #808341)

Utilizator avatar emilicaweee Emanuel Pitigoi Oltean emilicaweee IP ascuns
Problemă Paritate (clasa a 9-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 9 feb. 2025 13:54:20 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:9:32: error: 'a' does not name a type 9 | ofstream cout("paritate.out"); a | ^ main.cpp: In function 'int main()': main.cpp:23:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare] 23 | for(int i=0; i<s.length(); i+=8) | ~^~~~~~~~~~~ main.cpp:46:13: error: 'rez' was not declared in this scope 46 | rez.push_back(ord); | ^~~ main.cpp:66:8: error: 'rez' was not declared in this scope 66 | if(rez.size()>1) | ^~~ main.cpp:77:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 77 | for(int i=0; i<r.size(); i++) | ~^~~~~~~~~