Borderou de evaluare (job #2023993)

Utilizator isav_costinVlad Costin Andrei isav_costin Data 19 septembrie 2017 19:19:47
Problema Betasah Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:25:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen( "betasah.in", "r", stdin ); ^ user.cpp:26:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen( "betasah.out", "w", stdout ); ^ user.cpp:30:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%d%d%d", &n, &d, &k ); ^ user.cpp:34:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%d%d", &x[i], &y[i] ); ^ user.cpp:40:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%d%d", &x[0], &y[0] ); ^ /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libc.a(malloc.o): In function `free': (.text+0x4b00): multiple definition of `free' /tmp/cceHLc4Q.o:(.bss+0x0): first defined here /usr/bin/ld: Warning: size of symbol `free' changed from 4 in /tmp/cceHLc4Q.o to 140 in /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libc.a(malloc.o) /usr/bin/ld: Warning: type of symbol `free' changed from 1 to 2 in /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libc.a(malloc.o) collect2: error: ld returned 1 exit status

Ceva nu functioneaza?