Borderou de evaluare (job #313257)

Utilizator dya_ndmNanuti Diana-Maria dya_ndm Data 8 mai 2009 15:53:50
Problema Potrivirea sirurilor Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function 'int main()': user.cpp:52: warning: format '%s' expects type 'char*', but argument 2 has type 'char (*)[2000001]' user.cpp:53: warning: format '%s' expects type 'char*', but argument 2 has type 'char (*)[2000001]' user.cpp:50: warning: unused variable 'c' user.cpp: At global scope: user.cpp:66: error: redefinition of 'long int num' user.cpp:4: error: 'long int num' previously declared here user.cpp:66: error: redefinition of 'long int n' user.cpp:4: error: 'long int n' previously declared here user.cpp:66: error: redefinition of 'long int m' user.cpp:4: error: 'long int m' previously declared here user.cpp:66: error: redefinition of 'long int sol [1005]' user.cpp:4: error: 'long int sol [1005]' previously declared here user.cpp:67: error: redefinition of 'char x [2000001]' user.cpp:5: error: 'char x [2000001]' previously declared here user.cpp:67: error: redefinition of 'char y [2000001]' user.cpp:5: error: 'char y [2000001]' previously declared here user.cpp:68: error: redefinition of 'long int kmpshift [2000001]' user.cpp:6: error: 'long int kmpshift [2000001]' previously declared here user.cpp: In function 'void preKMP(char*, long int, long int*)': user.cpp:70: error: redefinition of 'void preKMP(char*, long int, long int*)' user.cpp:8: error: 'void preKMP(char*, long int, long int*)' previously defined here user.cpp: In function 'void KMP(char*, char*, long int, long int)': user.cpp:88: error: redefinition of 'void KMP(char*, char*, long int, long int)' user.cpp:26: error: 'void KMP(char*, char*, long int, long int)' previously defined here user.cpp: In function 'int main()': user.cpp:108: error: redefinition of 'int main()' user.cpp:46: error: 'int main()' previously defined here user.cpp:114: warning: format '%s' expects type 'char*', but argument 2 has type 'char (*)[2000001]' user.cpp:115: warning: format '%s' expects type 'char*', but argument 2 has type 'char (*)[2000001]' user.cpp:112: warning: unused variable 'c'

Ceva nu functioneaza?