Borderou de evaluare (job #1583645)

Utilizator matericristea88Cristea-Enache Matei matericristea88 Data 29 ianuarie 2016 10:06:46
Problema Muzeu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void bordare()’: user.cpp:17:11: warning: unused variable ‘j’ [-Wunused-variable] int i,j; ^ user.cpp: In function ‘int main()’: user.cpp:47:38: warning: narrowing conversion of ‘i’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] q[++u]=(pozitie){i, j}; ^ user.cpp:47:38: warning: narrowing conversion of ‘j’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] user.cpp:31:13: warning: unused variable ‘k’ [-Wunused-variable] int i,j,k,copaci,x1,y1,x2,y2,d,xx,yy; ^ user.cpp:31:15: warning: unused variable ‘copaci’ [-Wunused-variable] int i,j,k,copaci,x1,y1,x2,y2,d,xx,yy; ^ user.cpp:31:22: warning: unused variable ‘x1’ [-Wunused-variable] int i,j,k,copaci,x1,y1,x2,y2,d,xx,yy; ^ user.cpp:31:25: warning: unused variable ‘y1’ [-Wunused-variable] int i,j,k,copaci,x1,y1,x2,y2,d,xx,yy; ^ user.cpp:31:28: warning: unused variable ‘x2’ [-Wunused-variable] int i,j,k,copaci,x1,y1,x2,y2,d,xx,yy; ^ user.cpp:31:31: warning: unused variable ‘y2’ [-Wunused-variable] int i,j,k,copaci,x1,y1,x2,y2,d,xx,yy; ^ user.cpp:31:36: warning: unused variable ‘xx’ [-Wunused-variable] int i,j,k,copaci,x1,y1,x2,y2,d,xx,yy; ^ user.cpp:31:39: warning: unused variable ‘yy’ [-Wunused-variable] int i,j,k,copaci,x1,y1,x2,y2,d,xx,yy; ^ user.cpp:29:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("muzeu.in","r",stdin); ^ user.cpp:30:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("muzeu.out","w",stdout); ^ user.cpp:32:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:35:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(1+b[i]); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:35:21:
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms288kbOK10
20ms304kbOK10
30ms336kbOK10
40ms404kbOK10
50ms284kbWall time limit exceeded.0
60ms296kbKilled by signal 11(SIGSEGV).0
70ms300kbKilled by signal 11(SIGSEGV).0
80ms292kbKilled by signal 11(SIGSEGV).0
90ms296kbKilled by signal 11(SIGSEGV).0
100ms292kbKilled by signal 11(SIGSEGV).0
Punctaj total40

Ceva nu functioneaza?