Borderou de evaluare (job #1946724)

Utilizator alexpetrescuAlexandru Petrescu alexpetrescu Data 30 martie 2017 13:09:39
Problema Colors Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:32:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d ", &n); ^ user.cpp:34:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s, MAXN+5, fin); ^ 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 ‘int main()’ at user.cpp:34:26: /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
10ms276kbOK5
20ms272kbOK5
30ms272kbOK5
40ms272kbOK5
50ms276kbOK5
6444ms316kbOK5
7444ms324kbOK5
8Depăşit780kbTime limit exceeded.0
9Depăşit780kbTime limit exceeded.0
10Depăşit1944kbTime limit exceeded.0
11Depăşit1940kbTime limit exceeded.0
12Depăşit4424kbTime limit exceeded.0
13Depăşit4428kbTime limit exceeded.0
14Depăşit8568kbTime limit exceeded.0
15Depăşit8568kbTime limit exceeded.0
1648ms4932kbKilled by signal 11(SIGSEGV).0
1748ms4936kbKilled by signal 11(SIGSEGV).0
184ms1304kbKilled by signal 6(SIGABRT).0
194ms1304kbKilled by signal 6(SIGABRT).0
200ms272kbOK5
Punctaj total40

Ceva nu functioneaza?