Borderou de evaluare (job #739855)

Utilizator dan.paulaDan Paula dan.paula Data 23 aprilie 2012 23:16:17
Problema Hashuri Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘convertIntToString’: user.c:72: warning: implicit declaration of function ‘strrev’ user.c:78: warning: function returns address of local variable user.c: In function ‘read’: user.c:109: warning: ignoring return value of ‘gets’, declared with attribute warn_unused_result user.c:116: warning: ignoring return value of ‘gets’, declared with attribute warn_unused_result user.c: In function ‘main’: user.c:146: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result user.c:148: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result In file included from /usr/include/stdio.h:910, from user.c:1: In function ‘gets’, inlined from ‘read’ at user.c:116: /usr/include/bits/stdio2.h:230: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size /tmp/cc2iEQKR.o: In function `read': user.c:(.text+0x4a1): warning: the `gets' function is dangerous and should not be used. user.c:(.text+0x432): warning: the `gets' function is dangerous and should not be used. /tmp/cc2iEQKR.o: In function `convertIntToString': user.c:(.text+0x325): undefined reference to `strrev' collect2: ld returned 1 exit status

Ceva nu functioneaza?