Borderou de evaluare (job #1208090)

Utilizator ZenusTudor Costin Razvan Zenus Data 14 iulie 2014 17:49:22
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:87: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:89:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[350]’ [-Wformat=] scanf("%s",&S); ^ user.cpp:89: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:141: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:142: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:144: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:135:16: warning: ‘lastB’ may be used uninitialized in this function [-Wmaybe-uninitialized] start=lastB-lastA+1; ^ user.cpp:135:16: warning: ‘lastA’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms684kbOK100
216ms688kbOK10
332ms692kbOK10
4168ms688kbOK10
5Depăşit684kbTime limit exceeded.0
6336ms688kbOK10
7Depăşit680kbTime limit exceeded.0
8Depăşit688kbTime limit exceeded.0
9Depăşit688kbTime limit exceeded.0
10Depăşit688kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?