Borderou de evaluare (job #2225680)

Utilizator StasBrega Stanislav Stas Data 27 iulie 2018 22:08:55
Problema Range minimum query Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:40:18: warning: unused variable ‘diff’ [-Wunused-variable] long int x,y,diff,sh; ^~~~ user.cpp:40:23: warning: unused variable ‘sh’ [-Wunused-variable] long int x,y,diff,sh; ^~ user.cpp:16:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rmq.in","r",stdin); ^ user.cpp:17:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rmq.out","w",stdout); ^ user.cpp:21:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld",&n,&m); ^ user.cpp:24:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld ",&a[i]); ^ user.cpp:44:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms3428kbOK1010
20ms5480kbOK1010
34ms5560kbOK1010
492ms6744kbOK1010
5112ms6740kbOK1020
6672ms7016kbOK10
7696ms7624kbOK1010
8800ms8316kbOK1010
9900ms8320kbOK1010
101004ms8320kbOK1010
Punctaj total100

Ceva nu functioneaza?