Borderou de evaluare (job #2634371)

Utilizator irimia_alexIrimia Alex irimia_alex Data 10 iulie 2020 18:40:24
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'char getVar(int&)': main.cpp:34:26: error: 'strcmp' was not declared in this scope if (strcmp(op, "TRUE")==0) return '1'; ^ main.cpp:35:27: error: 'strcmp' was not declared in this scope if (strcmp(op, "FALSE") == 0) return '0'; ^ main.cpp: In function 'char getOperator(int&)': main.cpp:48:25: error: 'strcmp' was not declared in this scope if (strcmp(op, "AND") == 0)return '&'; ^ main.cpp:49:24: error: 'strcmp' was not declared in this scope if (strcmp(op, "OR") == 0) return '|'; ^ main.cpp:50:25: error: 'strcmp' was not declared in this scope if (strcmp(op, "NOT") == 0) return '~'; ^ main.cpp: In function 'bool compute()': main.cpp:99:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0;i < vec.size();++i) { ~~^~~~~~~~~~~~ main.cpp: In function 'bool getRes(bool, bool, char)': main.cpp:95:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Non zero exit status: 1

Ceva nu functioneaza?