Borderou de evaluare (job #1802060)

Utilizator delta_wolfAndrei Stoica delta_wolf Data 9 noiembrie 2016 20:29:23
Problema Densitate Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30:13: warning: variable ‘k’ set but not used [-Wunused-but-set-variable] for(int k;q;q--) ^ user.cpp:26:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("densitate.in","r",stdin); ^ user.cpp:27:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("densitate.out","w",stdout); ^ user.cpp:28:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&q); ^ user.cpp:32:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK10
24ms268kbOK10
38ms320kbOK10
416ms352kbOK10
544ms352kbOK10
6Depăşit820kbTime limit exceeded.0
7Depăşit1060kbTime limit exceeded.0
8Depăşit2872kbTime limit exceeded.0
9Depăşit3056kbTime limit exceeded.0
10Depăşit3168kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?