Borderou de evaluare (job #1237565)

Utilizator smaraldaSmaranda Dinu smaralda Data 4 octombrie 2014 12:14:20
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
10ms284kbOK!5
2Depăşit560kbTime limit exceeded.0
30ms324kbCost incorect!0
40ms336kbCost incorect!0
5Depăşit384kbTime limit exceeded.0
6Depăşit496kbTime limit exceeded.0
7Depăşit540kbTime limit exceeded.0
8Depăşit428kbTime limit exceeded.0
9Depăşit424kbTime limit exceeded.0
10Depăşit688kbTime limit exceeded.0
11Depăşit520kbTime limit exceeded.0
12Depăşit516kbTime limit exceeded.0
13Depăşit560kbTime limit exceeded.0
14Depăşit596kbTime limit exceeded.0
15Depăşit564kbTime limit exceeded.0
16Depăşit604kbTime limit exceeded.0
17Depăşit588kbTime limit exceeded.0
18Depăşit576kbTime limit exceeded.0
19Depăşit564kbTime limit exceeded.0
20Depăşit580kbTime limit exceeded.0
Punctaj total5

Ceva nu functioneaza?