Borderou de evaluare (job #1208089)

Utilizator ZenusTudor Costin Razvan Zenus Data 14 iulie 2014 17:43:53
Problema Easylca Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void read(int*)’: user.cpp:101:22: 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(A,0,sizeof(A)); ^ user.cpp:103:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[350]’ [-Wformat=] scanf("%s",&S); ^ user.cpp:103:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&S); ^ user.cpp: In function ‘int main()’: user.cpp:155:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("easylca.in","r",stdin); ^ user.cpp:156:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("easylca.out","w",stdout); ^ user.cpp:158:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&Q); ^ user.cpp: In function ‘void lca(int*, int*, int*)’: user.cpp:149:16: warning: ‘lastB’ may be used uninitialized in this function [-Wmaybe-uninitialized] start=lastB-lastA+1; ^ user.cpp:149:16: warning: ‘lastA’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms692kbOK100
216ms688kbOK10
332ms688kbOK10
4168ms688kbOK10
5Depăşit688kbTime limit exceeded.0
6336ms696kbOK10
7Depăşit684kbTime limit exceeded.0
8Depăşit692kbTime limit exceeded.0
9Depăşit688kbTime limit exceeded.0
10Depăşit688kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?