Borderou de evaluare (job #2595505)

Utilizator mariamirabella2Bucur-Sabau Maria-Mirabela mariamirabella2 Data 7 aprilie 2020 20:38:32
Problema Trie Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In constructor 'Trie::Trie()': main.cpp:13:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(short int i=0;i<26;i++) ^~~ main.cpp:15:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' prefix=0; ^~~~~~ main.cpp: In function 'void ADD(char*)': main.cpp:25:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0;i <strlen(x);i++){ ~~^~~~~~~~~~ main.cpp: In function 'void REMOVE(char*)': main.cpp:35:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(short int i=0;i<strlen(x);i++){ ~^~~~~~~~~~ main.cpp: In function 'int NUMAR(char*)': main.cpp:47:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(short int i=0;i<strlen(x);i++){ ~^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:88:27: error: 'PREFIX' was not declared in this scope cout<<PREFIX(s)<<'\n'; ^ Non zero exit status: 1

Ceva nu functioneaza?