Borderou de evaluare (job #2231491)

Utilizator gavrisraulRaul Gavris gavrisraul Data 14 august 2018 17:07:49
Problema Potrivirea sirurilor Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:30:47: error: stray ‘\302’ in program for(i=N;i;--i)sirB[i]=sirB[i-1];sirB[0]=' ';  ^ user.cpp:30:48: error: stray ‘\240’ in program for(i=N;i;--i)sirB[i]=sirB[i-1];sirB[0]=' ';  ^ user.cpp: In function ‘void prefix()’: user.cpp:18:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if(sirA[q+1]==sirA[i]) ^~ user.cpp:20:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ pi[i]=q; ^~ user.cpp: In function ‘int main()’: user.cpp:29:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for(i=M;i;--i)sirA[i]=sirA[i-1];sirA[0]=' '; ^~~ user.cpp:29:35: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’ for(i=M;i;--i)sirA[i]=sirA[i-1];sirA[0]=' '; ^~~~ user.cpp:30:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for(i=N;i;--i)sirB[i]=sirB[i-1];sirB[0]=' ';  ^~~ user.cpp:30:35: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’ for(i=N;i;--i)sirB[i]=sirB[i-1];sirB[0]=' ';  ^~~~

Ceva nu functioneaza?