Borderou de evaluare (job #1822054)

Utilizator Coroian_DavidCoroian David Coroian_David Data 4 decembrie 2016 09:11:05
Problema Bitcost Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void solve()’: user.cpp:190:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d", &k, &n); ^ user.cpp:195:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &bit[i]); ^ user.cpp:201:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d", &a, &b); ^ user.cpp: In function ‘int bitsMax()’: user.cpp:173:76: warning: ‘pozb’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(bitb[i] == 0 && bita[i] == 0 && bit[i] >= 0 && okb == 0 && pozb != i) ^ user.cpp:140:38: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] bits[poz] = 1; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms280kbOK10
20ms272kbOK10
3Depăşit272kbTime limit exceeded.0
4Depăşit272kbTime limit exceeded.0
5Depăşit256kbTime limit exceeded.0
6Depăşit256kbTime limit exceeded.0
7Depăşit252kbTime limit exceeded.0
8Depăşit252kbTime limit exceeded.0
9Depăşit252kbTime limit exceeded.0
10Depăşit256kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?