Borderou de evaluare (job #1461590)

Utilizator cojocarugabiReality cojocarugabi Data 16 iulie 2015 00:06:11
Problema Rox Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:35:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d\n",&v[i].x,&v[i].y); ^ user.cpp:35:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:15:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rox.in","r",stdin); ^ user.cpp:16:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rox.out","w",stdout); ^ user.cpp:18:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d\n",&n,&m,&q); ^ user.cpp:24:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d %c\n",&x1,&y1,&x2,&y2,&c); ^ user.cpp:32:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&q); ^ user.cpp:35:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n",&v[i].x,&v[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
120ms3404kbOK5
216ms3404kbOK5
356ms3344kbKilled by signal 11(SIGSEGV).0
460ms3352kbKilled by signal 11(SIGSEGV).0
548ms3344kbKilled by signal 11(SIGSEGV).0
660ms3344kbKilled by signal 11(SIGSEGV).0
756ms3352kbKilled by signal 11(SIGSEGV).0
860ms3344kbKilled by signal 11(SIGSEGV).0
996ms3492kbOK5
1068ms3492kbOK5
1164ms3396kbKilled by signal 11(SIGSEGV).0
12140ms3352kbKilled by signal 11(SIGSEGV).0
13100ms3364kbKilled by signal 11(SIGSEGV).0
14112ms3348kbKilled by signal 11(SIGSEGV).0
15176ms3352kbKilled by signal 11(SIGSEGV).0
16172ms3352kbKilled by signal 11(SIGSEGV).0
17156ms3348kbKilled by signal 11(SIGSEGV).0
18184ms3348kbKilled by signal 11(SIGSEGV).0
19204ms3344kbKilled by signal 11(SIGSEGV).0
20208ms3372kbKilled by signal 11(SIGSEGV).0
Punctaj total20

Ceva nu functioneaza?