Borderou de evaluare (job #1836381)

Utilizator DenisONIcBanu Denis Andrei DenisONIc Data 28 decembrie 2016 12:30:19
Problema SequenceQuery Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:52:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&n,&m); ^ user.cpp:52:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:64:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&x); ^ user.cpp:75:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&x,&y); ^ user.cpp:75:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp: In function ‘ARB query(int, int, int, int, int)’: user.cpp:46:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:50:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sequencequery.in","r",stdin); ^ user.cpp:52:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld",&n,&m); ^ user.cpp:64:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&x); ^ user.cpp:75:30: 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
10ms420kbOK5
20ms420kbOK5
30ms432kbOK5
40ms436kbOK5
50ms432kbOK5
60ms436kbOK5
70ms452kbOK5
80ms452kbOK5
98ms596kbOK5
1016ms600kbOK5
1112ms760kbOK5
1220ms760kbOK5
1356ms1232kbOK5
14100ms1232kbOK5
1576ms2024kbOK5
16128ms2016kbOK5
17120ms2020kbOK5
18220ms2016kbOK5
1944ms2636kbWall time limit exceeded.0
2040ms2640kbWall time limit exceeded.0
Punctaj total90

Ceva nu functioneaza?