Borderou de evaluare (job #1946741)

Utilizator alexpetrescuAlexandru Petrescu alexpetrescu Data 30 martie 2017 13:33:20
Problema Colors Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:32:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d ", &n); ^ user.cpp:34:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s, MAXN+5, fin); ^ 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:34:26: /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
10ms272kbOK5
20ms276kbOK5
30ms280kbOK5
40ms280kbOK5
50ms280kbOK5
60ms304kbOK5
70ms312kbOK5
88ms776kbOK5
98ms776kbOK5
1028ms1940kbOK5
1128ms1936kbOK5
1268ms4424kbOK5
1368ms4424kbOK5
14128ms8568kbOK5
15128ms8568kbOK5
1648ms4932kbKilled by signal 11(SIGSEGV).0
1748ms4936kbKilled by signal 11(SIGSEGV).0
184ms1308kbKilled by signal 6(SIGABRT).0
194ms1312kbKilled by signal 6(SIGABRT).0
200ms276kbOK5
Punctaj total80

Ceva nu functioneaza?