Borderou de evaluare (job #1752031)

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

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:46: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
10ms496kbOK5
20ms496kbOK5
30ms496kbOK5
40ms496kbOK5
50ms492kbOK5
60ms504kbOK5
70ms512kbOK5
80ms524kbOK5
90ms516kbOK5
100ms520kbOK5
110ms552kbOK5
120ms544kbOK5
130ms568kbOK5
140ms564kbOK5
150ms560kbOK5
160ms572kbOK5
174ms588kbOK5
184ms608kbOK5
194ms604kbKilled by signal 11(SIGSEGV).0
200ms484kbKilled by signal 11(SIGSEGV).0
Punctaj total90

Ceva nu functioneaza?