Borderou de evaluare (job #1300125)

Utilizator MihaiBunBunget Mihai MihaiBun Data 24 decembrie 2014 01:31:19
Problema Sarac Sau Rege Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:7:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("saracsaurege.in","r",stdin); ^ user.cpp:8:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("saracsaurege.out","w",stdout); ^ user.cpp:9:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:10:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i=1;i<=n;i++){scanf("%d",&rmq[0][i]);a[i]=rmq[0][i];}; ^ user.cpp:14:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&x,&y);diff=y-x+1;ll=lg[diff];sh=diff - (1<<ll); ^ user.cpp:28:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&x,&y);diff=y-x+1;ll=lg[diff];sh=diff - (1<<ll); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK10
20ms288kbOK10
3660ms428kbOK10
4612ms280kbOK10
592msDepăşitMemory limit exceeded.0
652msDepăşitMemory limit exceeded.0
7732msDepăşitMemory limit exceeded.0
8736msDepăşitMemory limit exceeded.0
9740msDepăşitMemory limit exceeded.0
10736msDepăşitMemory limit exceeded.0
Punctaj total40

Ceva nu functioneaza?