Borderou de evaluare (job #1623520)

Utilizator hegedusPaul Hegedus hegedus Data 1 martie 2016 19:57:55
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
10ms428kbFisier de intrare corupt!0
20ms428kbFisier de iesire corupt!0
30ms424kbFisier de intrare corupt!0
40ms432kbFisier de iesire corupt!0
50ms428kbFisier de intrare corupt!0
60ms428kbFisier de iesire corupt!0
70ms424kbFisier de intrare corupt!0
80ms428kbFisier de iesire corupt!0
90ms424kbFisier de intrare corupt!0
100ms428kbFisier de iesire corupt!0
110ms424kbFisier de intrare corupt!0
120ms424kbFisier de iesire corupt!0
130ms424kbFisier de intrare corupt!0
140ms424kbFisier de iesire corupt!0
150ms424kbFisier de intrare corupt!0
160ms432kbFisier de iesire corupt!0
170ms424kbFisier de intrare corupt!0
180ms428kbFisier de iesire corupt!0
190ms428kbFisier de intrare corupt!0
200ms428kbFisier de iesire corupt!0
Punctaj total0

Ceva nu functioneaza?