Borderou de evaluare (job #1853282)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 21 ianuarie 2017 16:10:35
Problema Dtcsu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘long long int getnext()’: user.cpp:10:25: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(buffer+1,30,f); ^ user.cpp: In function ‘int main()’: user.cpp:18:50: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] for(int i=1;i<=276997;i++) fgets(buffer,30,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 ‘long long int getnext()’ at user.cpp:10:25: /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
10ms180kbKilled by signal 11(SIGSEGV).0
20ms184kbKilled by signal 11(SIGSEGV).0
30ms184kbKilled by signal 11(SIGSEGV).0
40ms184kbKilled by signal 11(SIGSEGV).0
50ms184kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?