Borderou de evaluare (job #1755962)

Utilizator killer301Ioan Andrei Nicolae killer301 Data 11 septembrie 2016 15:27:37
Problema Soc Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.cpp: In function ‘void process(bool*, int*, int*, int&, int&)’: user.cpp:35:26: 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(mis, 0, sizeof(mis)); ^ user.cpp:36:27: 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(mclq, 0, sizeof(mclq)); ^ user.cpp: In function ‘int main()’: user.cpp:113:35: 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:114:37: 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:116: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:118:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &val[i]); ^ user.cpp:122: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
10ms268kbOK!5
2Depăşit360kbTime limit exceeded.0
30ms296kbCost incorect!0
40ms300kbCost incorect!0
5Depăşit332kbTime limit exceeded.0
6Depăşit400kbTime limit exceeded.0
7Depăşit424kbTime limit exceeded.0
8Depăşit308kbTime limit exceeded.0
9Depăşit324kbTime limit exceeded.0
10Depăşit512kbTime limit exceeded.0
11Depăşit360kbTime limit exceeded.0
12Depăşit348kbTime limit exceeded.0
13Depăşit372kbTime limit exceeded.0
14Depăşit372kbTime limit exceeded.0
15Depăşit352kbTime limit exceeded.0
16Depăşit392kbTime limit exceeded.0
17Depăşit380kbTime limit exceeded.0
18Depăşit380kbTime limit exceeded.0
19Depăşit360kbTime limit exceeded.0
20Depăşit380kbTime limit exceeded.0
Punctaj total5

Ceva nu functioneaza?