Borderou de evaluare (job #1633894)

Utilizator EchipaPaiUPB Lincan Pogonaru Serbanescu EchipaPai Data 6 martie 2016 12:58:17
Problema Unlock Status done
Runda ONIS 2016, Runda 1 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp:7:39: warning: narrowing conversion of ‘-1’ from ‘int’ to ‘const short unsigned int’ inside { } [-Wnarrowing] unsigned short const di[]={0, 1, 0, -1}, dj[]={1, 0, -1, 0}; ^ user.cpp:7:59: warning: narrowing conversion of ‘-1’ from ‘int’ to ‘const short unsigned int’ inside { } [-Wnarrowing] unsigned short const di[]={0, 1, 0, -1}, dj[]={1, 0, -1, 0}; ^ user.cpp: In function ‘int main()’: user.cpp:66:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%hd", &t); ^ user.cpp:70:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%hd%hd%hd", &n, &m, &k); ^ user.cpp:74:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &mat[i][j]); ^ user.cpp:93:37: warning: ‘y’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(!unlocker(x, y, i)) ++nr; ^ user.cpp:93:37: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit708kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?