Borderou de evaluare (job #1219727)

Utilizator misinozzz zzz misino Data 14 august 2014 22:08:40
Problema Zmeu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:67:48: warning: narrowing conversion of ‘(((int)z) + ((int)a[((int)xnou)][((int)ynou)]))’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] q.push((per){xnou, ynou, z + a[xnou][ynou]}); ^ user.cpp:32:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zmeu.in","r",stdin); ^ user.cpp:34:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&p); ^ user.cpp:38:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd",&a[i][j]); ^ user.cpp:42:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&b[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit456kbTime limit exceeded.0
220msDepăşitMemory limit exceeded.0
320msDepăşitMemory limit exceeded.0
448msDepăşitMemory limit exceeded.0
548msDepăşitMemory limit exceeded.0
6Depăşit464kbTime limit exceeded.0
7Depăşit464kbTime limit exceeded.0
8Depăşit460kbTime limit exceeded.0
94ms452kbKilled by signal 11(SIGSEGV).0
104ms452kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?