Borderou de evaluare (job #1348493)

Utilizator BaweeLazar Vlad Bawee Data 19 februarie 2015 18:48:20
Problema Insule Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:48:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&n,&m); ^ user.cpp:49:17: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(a,3,f); ^ user.cpp:52:23: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(a,110,f); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:52:23: /usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default] return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms312kbOK!10
20ms280kbOK!10
30ms292kbOK!10
40ms344kbOK!10
50ms380kbOK!10
60ms308kbKilled by signal 11(SIGSEGV).0
70ms404kbOK!10
80ms420kbOK!10
90ms360kbOK!10
100ms364kbKilled by signal 11(SIGSEGV).0
Punctaj total80

Ceva nu functioneaza?