Borderou de evaluare (job #1864902)

Utilizator dianaorasanuDiana Orasanu dianaorasanu Data 1 februarie 2017 08:57:39
Problema Statiuni Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:31:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &n, &p); ^ user.cpp:36:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &x, &y);//fin >> x >> y; ^ In file included from /usr/include/string.h:642:0, from /usr/include/c++/4.8/cstring:42, from user.cpp:4: In function ‘void* memset(void*, int, size_t)’, inlined from ‘int main()’ at user.cpp:55:21: /usr/include/i386-linux-gnu/bits/string3.h:82:32: warning: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default] __warn_memset_zero_len (); ^ In function ‘void* memset(void*, int, size_t)’, inlined from ‘int main()’ at user.cpp:56:27: /usr/include/i386-linux-gnu/bits/string3.h:82:32: warning: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default] __warn_memset_zero_len (); ^ In function ‘void* memset(void*, int, size_t)’, inlined from ‘int main()’ at user.cpp:57:24: /usr/include/i386-linux-gnu/bits/string3.h:82:32: warning: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default] __warn_memset_zero_len (); ^ /tmp/ccxLainA.o: In function `main': user.cpp:(.text.startup+0x16b): warning: memset used with constant zero length parameter; this could be due to transposed parameters
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms2612kbOK55
216ms2620kbOK55
3144ms2640kbOK55
44ms2620kbOK55
5144ms2640kbOK55
6168ms2644kbOK55
7140ms2644kbOK55
84ms2616kbOK55
9Depăşit2816kbTime limit exceeded.00
104ms2616kbOK5
114ms2612kbOK5
124ms2616kbOK5
134ms2620kbOK5
144ms2616kbOK5
154ms2616kbOK5
164ms2612kbOK5
17Depăşit4608kbTime limit exceeded.0
18Depăşit4720kbTime limit exceeded.0
19Depăşit4776kbTime limit exceeded.0
20Depăşit4948kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?