Borderou de evaluare (job #1297550)

Utilizator rares96cheseliRares Cheseli rares96cheseli Data 22 decembrie 2014 01:50:32
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:9:43: 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:10:45: 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:11:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &N, &M, &rmq[0][1]); ^ user.cpp:13:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &rmq[0][i]), lg[i]=lg[i/2]+1; ^ user.cpp:20:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); Log=lg[y-x+1]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbOK10
20ms324kbOK10
3652ms832kbOK10
4616ms324kbOK10
516msDepăşitMemory limit exceeded.0
616msDepăşitMemory limit exceeded.0
716msDepăşitMemory limit exceeded.0
820msDepăşitMemory limit exceeded.0
916msDepăşitMemory limit exceeded.0
1016msDepăşitMemory limit exceeded.0
Punctaj total40

Ceva nu functioneaza?