Borderou de evaluare (job #1224911)

Utilizator lianaliana tucar liana Data 31 august 2014 20:43:40
Problema Hero's Call: Northrend! Status done
Runda Infoarena Monthly 2014 - Runda 8 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:12:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld",&n,&x); ^ user.cpp:12:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:15:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld %ld",&a,&b,&c); ^ user.cpp:15:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:15:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp: In function ‘int main()’: user.cpp:81:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld",nr[x]); ^ user.cpp: In function ‘void citire()’: user.cpp:12:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld",&n,&x); ^ user.cpp:15:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld %ld",&a,&b,&c); ^ user.cpp: In function ‘int main()’: user.cpp:76:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("northrend.in","r",stdin); ^ user.cpp:77:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("northrend.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms1460kbOK100
20ms1460kbIncorect0
30ms1468kbIncorect0
40ms1524kbOK10
580ms3972kbIncorect0
6144ms5500kbIncorect0
7212ms6944kbIncorect0
8208ms7668kbIncorect0
9212ms7420kbIncorect0
10204ms7344kbIncorect0
Penalizare 51 (pentru 103.7 minute) + 3 (pentru o submisie)-54
Punctaj total0

Ceva nu functioneaza?