Borderou de evaluare (job #1650642)

Utilizator maria.sinteaMaria Sintea maria.sintea Data 11 martie 2016 19:37:31
Problema Pseudobil Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d\n%d %d %d\n", &p, &n, &k, &d); ^ user.cpp:11:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:11:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:11:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long int*’ [-Wformat=] user.cpp:33:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d %d\n", &x, &y); ^ user.cpp:33:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:36:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d\n", nr1); ^ user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pseudobil.in","r",stdin); ^ user.cpp:10:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pseudobil.out","w",stdout); ^ user.cpp:11:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n%d %d %d\n", &p, &n, &k, &d); ^ user.cpp:14:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld\n", &x, &y); ^ user.cpp:20:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld\n", &m); ^ user.cpp:23:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld", &x, &y); ^ user.cpp:33:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms304kbOK5
20ms1240kbOK5
30ms244kbKilled by signal 11(SIGSEGV).0
40ms248kbKilled by signal 11(SIGSEGV).0
50ms1144kbOK5
64ms4148kbOK5
716ms8772kbOK5
820ms10148kbOK5
920ms11004kbOK5
1024ms11356kbOK5
110ms272kbKilled by signal 11(SIGSEGV).0
120ms244kbKilled by signal 11(SIGSEGV).0
130ms280kbKilled by signal 11(SIGSEGV).0
140ms272kbKilled by signal 11(SIGSEGV).0
150ms264kbKilled by signal 11(SIGSEGV).0
160ms244kbKilled by signal 11(SIGSEGV).0
170ms244kbKilled by signal 11(SIGSEGV).0
180ms240kbKilled by signal 11(SIGSEGV).0
190ms244kbKilled by signal 11(SIGSEGV).0
200ms252kbKilled by signal 11(SIGSEGV).0
Punctaj total40

Ceva nu functioneaza?