Borderou de evaluare (job #470555)

Utilizator dushmiMihai-Alexandru Dusmanu dushmi Data 14 iulie 2010 16:13:13
Problema Nums Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 25

Raport evaluator

Compilare: user.cpp: In function ‘void init()’: user.cpp:31: warning: format ‘%s’ expects type ‘char*’, but argument 2 has type ‘char (*)[131072]’ user.cpp:21: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:22: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp: In function ‘void read()’: user.cpp:101: warning: format ‘%s’ expects type ‘char*’, but argument 2 has type ‘char (*)[131072]’ user.cpp:91: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:92: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:97: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:101: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:108: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result In file included from /usr/include/string.h:640, from /usr/include/c++/4.4/cstring:45, from user.cpp:2: In function ‘void* memset(void*, int, size_t)’, inlined from ‘void init()’ at user.cpp:24: /usr/include/bits/string3.h:83: 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 In function ‘void* memset(void*, int, size_t)’, inlined from ‘void init()’ at user.cpp:28: /usr/include/bits/string3.h:83: 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 In function ‘void* memset(void*, int, size_t)’, inlined from ‘void read()’ at user.cpp:93: /usr/include/bits/string3.h:83: 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 In function ‘void* memset(void*, int, size_t)’, inlined from ‘void read()’ at user.cpp:98: /usr/include/bits/string3.h:83: 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 /tmp/ccHK2tCV.o: In function `init()': user.cpp:(.text+0x1f8): warning: memset used with constant zero length parameter; this could be due to transposed parameters
Test Timp executie Memorie folosita Mesaj Punctaj/test
1288ms3108kbOK5
2Depăşit1544kbTime limit exceeded.0
34ms264kbOK5
4288ms3108kbOK5
5144ms324kbOK5
6284ms3120kbOK5
7Depăşit1144kbTime limit exceeded.0
8Depăşit480kbTime limit exceeded.0
9Depăşit1548kbTime limit exceeded.0
10Depăşit1524kbTime limit exceeded.0
11Depăşit11752kbTime limit exceeded.0
12Depăşit2844kbTime limit exceeded.0
13384msDepăşitMemory limit exceeded.0
14160ms5096kbIncorect0
15492msDepăşitMemory limit exceeded.0
16496msDepăşitMemory limit exceeded.0
17Depăşit2548kbTime limit exceeded.0
18Depăşit624kbTime limit exceeded.0
19572ms39320kbIncorect0
20576ms39300kbIncorect0
Punctaj total25

Ceva nu functioneaza?