Borderou de evaluare (job #1081913)

Utilizator iarbaCrestez Paul iarba Data 13 ianuarie 2014 22:46:51
Problema Trie Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void lcp(int, int)’: user.cpp:55:52: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] if(atins[p]){maxx=poz;}else{printf("%ld\n",maxx+1);return;} ^ user.cpp:59:24: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",maxx+1); ^ /usr/lib/libc.a(malloc.o): In function `free': (.text+0x4bb0): multiple definition of `free' /tmp/ccbucwbE.o:(.data+0x0): first defined here /usr/bin/ld: Warning: size of symbol `free' changed from 4 in /tmp/ccbucwbE.o to 186 in /usr/lib/libc.a(malloc.o) /usr/bin/ld: Warning: type of symbol `free' changed from 1 to 2 in /usr/lib/libc.a(malloc.o) collect2: error: ld returned 1 exit status

Ceva nu functioneaza?