Borderou de evaluare (job #1621818)

Utilizator hegedusPaul Hegedus hegedus Data 29 februarie 2016 22:00:48
Problema Cartite Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:24:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=] scanf("%d%d%d%d%d%d",&p,&m,&n,&ic,&jc,&nrv); ^ user.cpp:24:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] user.cpp:24:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short unsigned int*’ [-Wformat=] user.cpp:24:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short unsigned int*’ [-Wformat=] user.cpp:24:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short unsigned int*’ [-Wformat=] user.cpp:24:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘short unsigned int*’ [-Wformat=] user.cpp:30:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=] scanf("%d%d%d",&iv,&jv,&r); ^ user.cpp:30:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] user.cpp:30:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short unsigned int*’ [-Wformat=] user.cpp:36:59: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=] else for(int x=1;x<=nrv;x++) scanf("%d%d%d",&iv,&jv,&r); ^ user.cpp:36:59: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] user.cpp:36:59: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short unsigned int*’ [-Wformat=] user.cpp:37:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=] scanf("%d",&t); ^ user.cpp:40:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=] scanf("%d%d%d%d",&i1,&j1,&i2,&j2); ^ user.cpp:40:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] user.cpp:40:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short unsigned int*’ [-Wformat=] user.cpp:40:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short unsigned int*’ [-Wformat=] user.cpp:21:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cartite.in","r",stdin); ^ user.cpp:22:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cartite.out","w",stdout); ^ user.cpp:24:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d%d%d",&p,&m,&n,&ic,&jc,&nrv); ^ user.cpp:30:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&iv,&jv,&r); ^ user.cpp:36:60: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] else for(int x=1;x<=nrv;x++) scanf("%d%d%d",&iv,&jv,&r); ^ user.cpp:37:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:40:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",&i1,&j1,&i2,&j2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms420kbFisier de intrare corupt!0
20ms416kbFisier de iesire corupt!0
30ms420kbFisier de intrare corupt!0
40ms416kbFisier de iesire corupt!0
50ms420kbFisier de intrare corupt!0
60ms420kbFisier de iesire corupt!0
70ms420kbFisier de intrare corupt!0
80ms416kbFisier de iesire corupt!0
90ms420kbFisier de intrare corupt!0
100ms424kbFisier de iesire corupt!0
110ms420kbFisier de intrare corupt!0
120ms416kbFisier de iesire corupt!0
130ms424kbFisier de intrare corupt!0
140ms420kbFisier de iesire corupt!0
150ms420kbFisier de intrare corupt!0
160ms420kbFisier de iesire corupt!0
170ms416kbFisier de intrare corupt!0
180ms420kbFisier de iesire corupt!0
190ms420kbFisier de intrare corupt!0
200ms420kbFisier de iesire corupt!0
Punctaj total0

Ceva nu functioneaza?