Borderou de evaluare (job #2087073)

Utilizator PinkiePie1189Preoteasa Mircea-Costin PinkiePie1189 Data 12 decembrie 2017 21:12:49
Problema Copii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&N); ^ user.cpp:21:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(buf,MAXN+3,fin); ^ In file included from /usr/include/stdio.h:934:0, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:21:30: /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
10ms284kbOK10
20ms280kbOK10
30ms284kbOK10
40ms284kbOK10
58ms288kbOK10
612ms284kbOK10
70ms348kbKilled by signal 6(SIGABRT).0
80ms348kbKilled by signal 6(SIGABRT).0
90ms348kbKilled by signal 6(SIGABRT).0
100ms352kbKilled by signal 6(SIGABRT).0
Punctaj total60

Ceva nu functioneaza?