Borderou de evaluare (job #1583647)

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

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
10ms292kbOK10
20ms304kbOK10
30ms356kbOK10
40ms440kbOK10
58ms664kbOK10
612ms800kbOK10
716ms804kbOK10
84ms804kbIncorect0
94ms820kbIncorect0
104ms824kbIncorect0
Punctaj total70

Ceva nu functioneaza?