Borderou de evaluare (job #1970041)

Utilizator DragosCDragos Corleanca DragosC Data 18 aprilie 2017 20:26:59
Problema Range minimum query Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:37:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld",&n,&m); ^ user.cpp:37:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:40:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld ",&Val); ^ user.cpp:47:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld",&y,&z); ^ user.cpp:47:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:44:9: warning: unused variable ‘x’ [-Wunused-variable] int x,y,z; ^ user.cpp:36: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:37: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:40:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld ",&Val); ^ user.cpp:47:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld",&y,&z); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms480kbOK1010
20ms484kbOK1010
34ms548kbOK1010
4136ms992kbOK1010
5160ms996kbOK1020
6992ms992kbOK10
71028ms1504kbOK1010
81212ms1504kbOK1010
9Depăşit1488kbTime limit exceeded.00
10Depăşit1492kbTime limit exceeded.00
Punctaj total80

Ceva nu functioneaza?