Borderou de evaluare (job #1208086)

Utilizator ZenusTudor Costin Razvan Zenus Data 14 iulie 2014 17:36:59
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:80: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:82:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[350]’ [-Wformat=] scanf("%s",&S); ^ user.cpp:82: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:134: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:135: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:137: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:128:16: warning: ‘lastB’ may be used uninitialized in this function [-Wmaybe-uninitialized] start=lastB-lastA+1; ^ user.cpp:128:16: warning: ‘lastA’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms272kbOK100
212ms272kbOK10
332ms276kbOK10
4168ms272kbOK10
5Depăşit268kbTime limit exceeded.0
6336ms276kbOK10
7Depăşit268kbTime limit exceeded.0
8Depăşit272kbTime limit exceeded.0
9Depăşit268kbTime limit exceeded.0
10Depăşit272kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?