Borderou de evaluare (job #1286874)

Utilizator lianaliana tucar liana Data 7 decembrie 2014 13:17:21
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
10ms312kbOK10
20ms1096kbOK10
30ms1092kbOK10
472ms4368kbOK10
592ms4352kbOK10
6Depăşit8520kbTime limit exceeded.0
7Depăşit12068kbTime limit exceeded.0
8Depăşit14808kbTime limit exceeded.0
9Depăşit14732kbTime limit exceeded.0
10Depăşit14700kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?