Borderou de evaluare (job #1224966)

Utilizator lianaliana tucar liana Data 31 august 2014 21:06:20
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:83: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:78: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:79: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
10ms1456kbOK100
20ms1452kbOK10
30ms1456kbIncorect0
40ms1516kbOK10
580ms3972kbIncorect0
6144ms5492kbIncorect0
7212ms6936kbIncorect0
8208ms7668kbIncorect0
9204ms7412kbOK10
10204ms7340kbOK10
Penalizare 63 (pentru 126.3 minute) + 9 (pentru 3 submisii)-72
Punctaj total0

Ceva nu functioneaza?