Borderou de evaluare (job #2164680)

Utilizator andrei_diaconu11Andrei C. Diaconu andrei_diaconu11 Data 13 martie 2018 09:13:14
Problema Ecuatii 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:47:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi, "%d", &n); ^ user.cpp:50:23: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s, 1000, fi);//mhm... chiar ca nu depaseste 255 de caractere (#Cerchez)(#fab) ^ In file included from /usr/include/stdio.h:936:0, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:50:23: /usr/include/bits/stdio2.h:261:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1336kbOK!10
20ms1340kbOK!10
30ms1344kbOK!10
40ms1312kbOK!10
50ms1252kbKilled by signal 6(SIGABRT).0
60ms1344kbOK!10
70ms1296kbKilled by signal 6(SIGABRT).0
80ms1172kbKilled by signal 6(SIGABRT).0
90ms1224kbKilled by signal 6(SIGABRT).0
100ms1348kbOK!10
Punctaj total60

Ceva nu functioneaza?