Borderou de evaluare (job #1508132)

Utilizator bogdan10bosBogdan Sitaru bogdan10bos Data 22 octombrie 2015 12:34:22
Problema Hacker3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:32: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:32:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘LL* {aka long long int*}’ [-Wformat=] user.cpp:34:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘LL* {aka long long int*}’ [-Wformat=] scanf("%d%d", &a[i], &b[i]); ^ user.cpp:34:43: 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:17:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &n); ^ user.cpp:30: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:32: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:34:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &a[i], &b[i]); ^ user.cpp:52: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
10ms436kbOK55
20ms444kbOK55
30ms448kbOK55
40ms440kbOK55
50ms456kbOK55
60ms456kbOK55
70ms456kbOK55
80ms456kbOK55
94ms588kbOK530
104ms588kbOK5
114ms588kbOK5
124ms588kbOK5
134ms588kbOK5
144ms588kbOK5
1532ms400kbKilled by signal 11(SIGSEGV).00
1628ms400kbKilled by signal 11(SIGSEGV).0
1732ms396kbKilled by signal 11(SIGSEGV).0
1832ms404kbKilled by signal 11(SIGSEGV).0
1932ms400kbKilled by signal 11(SIGSEGV).0
2044ms400kbKilled by signal 11(SIGSEGV).0
Punctaj total70

Ceva nu functioneaza?