Borderou de evaluare (job #1237567)

Utilizator smaraldaSmaranda Dinu smaralda Data 4 octombrie 2014 12:19:19
Problema Soc Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.cpp: In function ‘void f(int&, int&, int*, int*, int*)’: user.cpp:33:29: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(clique, 0, sizeof(clique)); ^ user.cpp:34:28: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(indep, 0, sizeof(indep)); ^ user.cpp: In function ‘int main()’: user.cpp:88:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("soc.in", "r", stdin); ^ user.cpp:89:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("soc.out", "w", stdout); ^ user.cpp:92:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:94:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &val[i]); ^ user.cpp:96:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbOK!5
2Depăşit564kbTime limit exceeded.0
30ms324kbCost incorect!0
40ms340kbCost incorect!0
5Depăşit380kbTime limit exceeded.0
6Depăşit492kbTime limit exceeded.0
7Depăşit532kbTime limit exceeded.0
8Depăşit420kbTime limit exceeded.0
9Depăşit424kbTime limit exceeded.0
10Depăşit688kbTime limit exceeded.0
11Depăşit520kbTime limit exceeded.0
12Depăşit512kbTime limit exceeded.0
13Depăşit564kbTime limit exceeded.0
14Depăşit588kbTime limit exceeded.0
15Depăşit560kbTime limit exceeded.0
16Depăşit604kbTime limit exceeded.0
17Depăşit580kbTime limit exceeded.0
18Depăşit572kbTime limit exceeded.0
19Depăşit560kbTime limit exceeded.0
20Depăşit576kbTime limit exceeded.0
Punctaj total5

Ceva nu functioneaza?