Borderou de evaluare (job #2202741)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 9 mai 2018 19:44:43
Problema String Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d\n",&N); ^ user.cpp:13:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(C + 1,500005,f); ^ In file included from /usr/include/stdio.h:936:0, from /usr/include/c++/6/cstdio:42, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:13:26: /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
10ms756kbOK!10
20ms2944kbOK!10
30ms3920kbOK!10
44ms4764kbOK!10
548ms3264kbOK!10
624ms4944kbOK!10
744ms5092kbOK!10
860ms5236kbOK!10
916ms4880kbOK!10
1032ms5004kbOK!10
Punctaj total100

Ceva nu functioneaza?