Borderou de evaluare (job #1946722)

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

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
10ms284kbOK5
20ms284kbOK5
30ms280kbOK5
40ms288kbIncorect0
50ms280kbIncorect0
6256ms332kbIncorect0
7256ms328kbIncorect0
8Depăşit788kbTime limit exceeded.0
9Depăşit792kbTime limit exceeded.0
10Depăşit1952kbTime limit exceeded.0
11Depăşit1948kbTime limit exceeded.0
12Depăşit4444kbTime limit exceeded.0
13Depăşit4436kbTime limit exceeded.0
14Depăşit8584kbTime limit exceeded.0
15Depăşit8584kbTime limit exceeded.0
1648ms4932kbKilled by signal 11(SIGSEGV).0
1748ms4936kbKilled by signal 11(SIGSEGV).0
184ms1308kbKilled by signal 6(SIGABRT).0
194ms1308kbKilled by signal 6(SIGABRT).0
200ms280kbOK5
Punctaj total20

Ceva nu functioneaza?