Borderou de evaluare (job #1227406)

Utilizator space.foldingAdrian Soucup space.folding Data 10 septembrie 2014 13:06:49
Problema Car Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int minCost(int, int, int, int, int)’: user.cpp:83:20: warning: narrowing conversion of ‘sx’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] q.push({sx, sy, 0}); ^ user.cpp:83:20: warning: narrowing conversion of ‘sy’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] user.cpp:106:34: warning: narrowing conversion of ‘nx’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] q.push({nx, ny, cst[ny][nx]}); ^ user.cpp:106:34: warning: narrowing conversion of ‘ny’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] user.cpp:86:7: warning: unused variable ‘minIdx’ [-Wunused-variable] int minIdx = 0; ^ user.cpp: In function ‘int main()’: user.cpp:115:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("car.in", "r", stdin); ^ user.cpp:116:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("car.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms520kbOk!10
20ms520kbOk!10
336ms1028kbOk!10
436ms1016kbOk!10
5Depăşit2776kbTime limit exceeded.0
6Depăşit2364kbTime limit exceeded.0
7Depăşit2496kbTime limit exceeded.0
8Depăşit2764kbTime limit exceeded.0
9Depăşit3208kbTime limit exceeded.0
10Depăşit3216kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?