Borderou de evaluare (job #1356256)

Utilizator ValentinSavoiuFMI Savoiu Valentin-Marian ValentinSavoiu Data 23 februarie 2015 12:20:59
Problema Traseu3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp:6:36: warning: narrowing conversion of ‘-1’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing] unsigned char dx[7]={0,0,0,-1,1,0,0},dy[7]={0,1,-1,0,0,0.0},dz[7]={0,0,0,0,0,1,-1}; ^ user.cpp:6:59: warning: narrowing conversion of ‘-1’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing] unsigned char dx[7]={0,0,0,-1,1,0,0},dy[7]={0,1,-1,0,0,0.0},dz[7]={0,0,0,0,0,1,-1}; ^ user.cpp:6:59: warning: narrowing conversion of ‘0.0’ from ‘double’ to ‘unsigned char’ inside { } [-Wnarrowing] user.cpp:6:82: warning: narrowing conversion of ‘-1’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing] unsigned char dx[7]={0,0,0,-1,1,0,0},dy[7]={0,1,-1,0,0,0.0},dz[7]={0,0,0,0,0,1,-1}; ^ user.cpp: In function ‘int main()’: user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("traseu3.in","r",stdin); ^ user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:13:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" "%d" "%d",&x,&y,&z); ^ user.cpp:18:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" "%d" "%d",&xf,&yf,&zf); ^ user.cpp:23:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&x,&y,&z); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms436kbKilled by signal 11(SIGSEGV).0
20ms488kbKilled by signal 11(SIGSEGV).0
30ms844kbKilled by signal 11(SIGSEGV).0
40ms476kbKilled by signal 11(SIGSEGV).0
50ms600kbKilled by signal 11(SIGSEGV).0
60ms1000kbKilled by signal 11(SIGSEGV).0
70ms604kbKilled by signal 11(SIGSEGV).0
80ms432kbKilled by signal 11(SIGSEGV).0
94ms3100kbKilled by signal 11(SIGSEGV).0
104ms2936kbKilled by signal 11(SIGSEGV).0
114ms4096kbKilled by signal 11(SIGSEGV).0
124ms2568kbKilled by signal 11(SIGSEGV).0
134ms3496kbKilled by signal 11(SIGSEGV).0
144ms2876kbKilled by signal 11(SIGSEGV).0
154ms3860kbKilled by signal 11(SIGSEGV).0
164ms4088kbKilled by signal 11(SIGSEGV).0
174ms4132kbKilled by signal 11(SIGSEGV).0
184ms4200kbKilled by signal 11(SIGSEGV).0
194ms4344kbKilled by signal 11(SIGSEGV).0
208ms4356kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?