Borderou de evaluare (job #1425031)
Utilizator | Data | 26 aprilie 2015 13:56:10 | |
---|---|---|---|
Problema | Pariuri | 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:47:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &n);
^
user.cpp:51:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &nBets);
^
user.cpp:53:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d", &time, &val);
^
/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libc.a(malloc.o): In function `free':
(.text+0x4ad0): multiple definition of `free'
/tmp/ccR6SkCj.o:(.bss+0x28a674): first defined here
/usr/bin/ld: Warning: size of symbol `free' changed from 4 in /tmp/ccR6SkCj.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 !