Borderou de evaluare (job #1752056)

Utilizator DenisONIcBanu Denis Andrei DenisONIc Data 2 septembrie 2016 17:17:59
Problema Cezar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 85

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:22:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&n,&k); ^ user.cpp:22:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:26:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&x,&y); ^ user.cpp:26:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:46:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0;i<H[nod].size();i++) ^ user.cpp:21: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:22: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:26: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
10ms536kbOK5
20ms532kbOK5
30ms536kbOK5
40ms536kbOK5
50ms532kbOK5
60ms540kbOK5
70ms548kbOK5
80ms564kbOK5
90ms548kbOK5
100ms556kbOK5
110ms588kbOK5
120ms580kbOK5
130ms604kbOK5
140ms604kbOK5
150ms592kbOK5
160ms604kbOK5
174ms624kbOK5
184msDepăşitMemory limit exceeded.0
198msDepăşitMemory limit exceeded.0
208msDepăşitMemory limit exceeded.0
Punctaj total85

Ceva nu functioneaza?