Borderou de evaluare (job #1218200)

Utilizator azkabancont-vechi azkaban Data 9 august 2014 22:39:10
Problema Gradina 3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d",&n,&p,&k); ^ user.cpp:10:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:10:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:12:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&a,&b); ^ user.cpp:12:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:24:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n%d",maxim,sol); ^ user.cpp:24:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("gradina3.in","r",stdin); ^ user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("gradina3.out","w",stdout); ^ user.cpp:10:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&n,&p,&k); ^ user.cpp:12:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms312kbIncorect0
20ms388kbIncorect0
30ms488kbIncorect0
44ms2200kbIncorect0
520ms7964kbIncorect0
620ms7568kbIncorect0
728ms11340kbIncorect0
8164ms12924kbIncorect0
9196ms12344kbIncorect0
10432ms16096kbIncorect0
Punctaj total0

Ceva nu functioneaza?