Borderou de evaluare (job #1752059)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:47:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&n,&k); ^ user.cpp:47:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:51:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&x,&y); ^ user.cpp:51:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:46: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:47: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:51: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
10ms432kbOK5
20ms436kbOK5
30ms436kbOK5
40ms432kbOK5
50ms436kbOK5
60ms440kbIncorect0
70ms460kbIncorect0
80ms488kbOK5
90ms480kbIncorect0
100ms484kbOK5
110ms520kbOK5
120ms520kbOK5
130ms560kbIncorect0
140ms564kbIncorect0
150ms552kbOK5
160ms556kbIncorect0
174ms604kbIncorect0
184msDepăşitMemory limit exceeded.0
194msDepăşitMemory limit exceeded.0
208msDepăşitMemory limit exceeded.0
Punctaj total50

Ceva nu functioneaza?