Borderou de evaluare (job #2202737)

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

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
10ms812kbOK!10
20ms2944kbOK!10
30ms3920kbOK!10
412ms4760kbOK!10
5Depăşit3208kbTime limit exceeded.0
6124ms4940kbOK!10
7Depăşit5088kbTime limit exceeded.0
8Depăşit5228kbTime limit exceeded.0
984ms4880kbOK!10
10Depăşit5004kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?