Borderou de evaluare (job #1508136)

Utilizator bogdan10bosBogdan Sitaru bogdan10bos Data 22 octombrie 2015 12:41:09
Problema Hacker3 Status done
Runda Arhiva de probleme 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
40ms444kbOK55
50ms452kbOK55
60ms456kbOK55
70ms456kbOK55
80ms456kbOK55
94ms592kbOK530
104ms588kbOK5
114ms588kbOK5
124ms584kbOK5
134ms588kbOK5
144ms588kbOK5
15192ms596kbOK530
16200ms588kbOK5
17192ms592kbOK5
18188ms592kbOK5
19176ms588kbOK5
20276ms592kbOK5
Punctaj total100

Ceva nu functioneaza?