Borderou de evaluare (job #1508157)

Utilizator bogdan10bosBogdan Sitaru bogdan10bos Data 22 octombrie 2015 13:04:15
Problema Hacker3 Status done
Runda c1234 Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:37:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘LL* {aka long long int*}’ [-Wformat=] scanf("%d", &x); ^ user.cpp:40:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘LL* {aka long long int*}’ [-Wformat=] scanf("%d%d", &a[0], &b[0]); ^ user.cpp:40:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘LL* {aka long long int*}’ [-Wformat=] user.cpp:42:57: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘LL* {aka long long int*}’ [-Wformat=] scanf("%d%d", &a[i - v[o]], &b[i - v[o]]); ^ user.cpp:42:57: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘LL* {aka long long int*}’ [-Wformat=] user.cpp:14:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hacker3.in", "r", stdin); ^ user.cpp:15:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hacker3.out", "w", stdout); ^ user.cpp:22:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &n); ^ user.cpp:35:46: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hacker3.in", "r", stdin); ^ user.cpp:37:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ user.cpp:40:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &a[0], &b[0]); ^ user.cpp:42:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &a[i - v[o]], &b[i - v[o]]); ^ user.cpp:58:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld", &a[i], &b[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms440kbOK55
20ms444kbOK55
30ms444kbOK55
40ms440kbOK55
50ms460kbOK55
60ms456kbOK55
70ms456kbOK55
80ms460kbOK55
94ms588kbOK530
104ms588kbOK5
114ms592kbOK5
124ms592kbOK5
134ms588kbOK5
144ms592kbOK5
15188ms592kbOK530
16180ms592kbOK5
17172ms592kbOK5
18200ms588kbOK5
19188ms588kbOK5
20260ms596kbOK5
Punctaj total100

Ceva nu functioneaza?