Borderou de evaluare (job #1986306)

Utilizator kingdoome22@gmail.comSapientia-Fejer-Pelok-Portik [email protected] Data 28 mai 2017 14:00:22
Problema Gap Status done
Runda ACM ICPC Faza Nationala 2017 Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:37:9: warning: implicit declaration of function ‘strrev’ [-Wimplicit-function-declaration] strcat(ln1,strrev(k1)); ^ user.c:37:9: warning: passing argument 2 of ‘strcat’ makes pointer from integer without a cast [enabled by default] In file included from /usr/include/features.h:357:0, from /usr/include/stdio.h:28, from user.c:1: /usr/include/i386-linux-gnu/bits/string3.h:142:1: note: expected ‘const char * restrict’ but argument is of type ‘int’ __NTH (strcat (char *__restrict __dest, __const char *__restrict __src)) ^ user.c:15:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&t); ^ user.c:23:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%s",k); ^ /tmp/ccFnRtKO.o: In function `main': user.c:(.text.startup+0x203): undefined reference to `strrev' collect2: error: ld returned 1 exit status

Ceva nu functioneaza?