Borderou de evaluare (job #1743236)
Utilizator | Data | 17 august 2016 20:05:32 | |
---|---|---|---|
Problema | Vila | 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:26:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d %d " ,&n,&m);
^
/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/ccq6x4RS.o:(.bss+0x20840): first defined here
/usr/bin/ld: Warning: size of symbol `free' changed from 16900 in /tmp/ccq6x4RS.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?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !