Borderou de evaluare (job #1752022)

Utilizator DenisONIcBanu Denis Andrei DenisONIc Data 2 septembrie 2016 16:23:36
Problema Cezar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:21:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&n,&k); ^ user.cpp:21:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:24:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&x,&y); ^ user.cpp:24:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:48:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0;i<H[nod].size();i++) ^ user.cpp:20:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cezar.in","r",stdin); ^ user.cpp:21:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld",&n,&k); ^ user.cpp:24: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
10ms552kbOK5
20ms556kbOK5
30ms556kbOK5
40ms556kbIncorect0
50ms556kbOK5
60ms560kbIncorect0
70ms572kbIncorect0
80ms580kbOK5
90ms580kbIncorect0
100ms580kbIncorect0
110ms608kbOK5
120ms600kbOK5
130ms624kbIncorect0
140ms624kbIncorect0
150ms620kbOK5
160ms624kbIncorect0
174msDepăşitMemory limit exceeded.0
184msDepăşitMemory limit exceeded.0
198msDepăşitMemory limit exceeded.0
208msDepăşitMemory limit exceeded.0
Punctaj total40

Ceva nu functioneaza?