Borderou de evaluare (job #1335748)

Utilizator Eduard6421Eduard Gabriel Eduard6421 Data 5 februarie 2015 20:41:45
Problema Alge Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:127:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d",&n,&m); ^ user.cpp:127:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:130:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d%d",&z,&x,&y); ^ user.cpp:130:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:130:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:124:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("alge.in","r",stdin); ^ user.cpp:125:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("alge.out","w",stdout); ^ user.cpp:127:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:130:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&z,&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms300kbOK!1020
20ms300kbOK!10
30ms320kbOK!100
40ms368kbRaspuns Gresit0
50ms588kbRaspuns Gresit00
60ms368kbRaspuns Gresit0
70ms588kbRaspuns Gresit00
84msDepăşitMemory limit exceeded.00
94msDepăşitMemory limit exceeded.0
108msDepăşitMemory limit exceeded.0
Punctaj total20

Ceva nu functioneaza?