Borderou de evaluare (job #1970049)

Utilizator DragosCDragos Corleanca DragosC Data 18 aprilie 2017 20:30:15
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:35: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: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
10ms448kbOK1010
20ms452kbOK1010
34ms508kbOK1010
4136ms960kbOK1010
5160ms956kbOK1020
6992ms952kbOK10
71032ms1472kbOK1010
81188ms1464kbOK1010
9Depăşit1456kbTime limit exceeded.00
10Depăşit1448kbTime limit exceeded.00
Punctaj total80

Ceva nu functioneaza?