Borderou de evaluare (job #1836422)

Utilizator DenisONIcBanu Denis Andrei DenisONIc Data 28 decembrie 2016 12:59:06
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:67:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&n,&m); ^ user.cpp:67:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:79:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&x); ^ user.cpp:90:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&x,&y); ^ user.cpp:90: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:65: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:67: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:79:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&x); ^ user.cpp:90: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
30ms428kbOK5
40ms428kbOK5
50ms428kbOK5
60ms428kbOK5
70ms444kbOK5
80ms452kbOK5
98ms628kbOK5
1016ms620kbOK5
1112ms828kbOK5
1216ms828kbOK5
1352ms1324kbOK5
1496ms1316kbOK5
1564ms2224kbOK5
16112ms2224kbOK5
17112ms2228kbOK5
18208ms2224kbOK5
1920ms1484kbWall time limit exceeded.0
2020ms1488kbWall time limit exceeded.0
Punctaj total90

Ceva nu functioneaza?