Borderou de evaluare (job #1242553)

Utilizator gapdanPopescu George gapdan Data 14 octombrie 2014 17:46:46
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:22:50: 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:22:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:22:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:22:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:22:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=] user.cpp:22:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘long long int*’ [-Wformat=] user.cpp:22:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 8 has type ‘long long int*’ [-Wformat=] user.cpp:16:35: 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:17:37: 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:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&T); ^ user.cpp:22:51: 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
10ms264kbOk!10
20ms264kbOk!10
30ms272kbOk!10
40ms264kbOk!10
50ms268kbOk!10
60ms268kbOk!10
70ms268kbOk!10
80ms272kbOk!10
90ms264kbOk!10
104ms268kbOk!10
Punctaj total100

Ceva nu functioneaza?