Borderou de evaluare (job #1286805)

Utilizator lianaliana tucar liana Data 7 decembrie 2014 13:09:40
Problema Spectacole Status done
Runda Algoritmiada 2015 - Runda 1, Seniori Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:20:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld",&n,&m); ^ user.cpp:20:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:22:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&a[i]); ^ user.cpp:24:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&b[i]); ^ user.cpp:26:52: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld %ld",&v[i].s,&v[i].x,&v[i].y); ^ user.cpp:26:52: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:26:52: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp: In function ‘void rezolvare()’: user.cpp:68:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",rez); ^ user.cpp: In function ‘void citire()’: user.cpp:20:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld",&n,&m); ^ user.cpp:22:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&a[i]); ^ user.cpp:24:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&b[i]); ^ user.cpp:26:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld %ld",&v[i].s,&v[i].x,&v[i].y); ^ user.cpp: In function ‘int main()’: user.cpp:73:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("spectacole.in","r",stdin); ^ user.cpp:74:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("spectacole.out","w",stdout); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms300kbOK10
20ms1088kbOK10
30ms1080kbOK10
472ms4328kbOK10
588ms4344kbOK10
68ms384kbKilled by signal 11(SIGSEGV).0
712ms520kbKilled by signal 11(SIGSEGV).0
820ms492kbKilled by signal 11(SIGSEGV).0
920ms492kbKilled by signal 11(SIGSEGV).0
100ms252kbWall time limit exceeded.0
Punctaj total50

Ceva nu functioneaza?