Borderou de evaluare (job #1214740)

Utilizator azkabancont-vechi azkaban Data 31 iulie 2014 11:56:38
Problema Iepuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:14: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&t); ^ user.cpp:19:55: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d%d%d%d%d",&x,&y,&z,&a,&b,&c,&n); ^ user.cpp:19:55: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:19:55: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:19:55: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:19:55: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=] user.cpp:19:55: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘long long int*’ [-Wformat=] user.cpp:19:55: warning: format ‘%d’ expects argument of type ‘int*’, but argument 8 has type ‘long long int*’ [-Wformat=] user.cpp: In function ‘void openIOFiles()’: user.cpp:8:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("iepuri.in","r",stdin); ^ user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("iepuri.out","w",stdout); ^ user.cpp: In function ‘int main()’: user.cpp:17:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:19:56: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d%d%d%d",&x,&y,&z,&a,&b,&c,&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbOk!10
20ms260kbOk!10
30ms264kbOk!10
40ms260kbOk!10
50ms264kbOk!10
60ms264kbOk!10
70ms268kbOk!10
80ms264kbOk!10
90ms264kbOk!10
100ms264kbOk!10
Punctaj total100

Ceva nu functioneaza?