Borderou de evaluare (job #1369708)

Utilizator devilz05Orzan Alexandru devilz05 Data 3 martie 2015 10:46:59
Problema Rj Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void _findPath(char**, int&, int&, Point, Point&, int&, Point*, std::queue<Point*>&)’: user.cpp:44:149: warning: operation on ‘step’ may be undefined [-Wsequence-point] pathTemp[step++].set(start.x, start.y, step > 0 ? pathTemp[step-1].i + start.x : start.x, step > 0 ? pathTemp[step-1].j + start.y : start.y); ^ user.cpp:44:149: warning: operation on ‘step’ may be undefined [-Wsequence-point] user.cpp:46:68: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (start.x == end.x && start.y == end.y && (path.size() > step || path.empty() || (path.size() == step && path.back()->i > pathTemp[step-1].i) || ^ user.cpp:46:108: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (start.x == end.x && start.y == end.y && (path.size() > step || path.empty() || (path.size() == step && path.back()->i > pathTemp[step-1].i) || ^ user.cpp:47:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (path.size() == step && path.back()->i == pathTemp[step-1].i && path.back()->j > pathTemp[step-1].j))) ^ user.cpp: In function ‘void findPath(char**, int, int)’: user.cpp:72:21: warning: unused variable ‘x’ [-Wunused-variable] int i, j, tmin, x, y; ^ user.cpp:72:24: warning: unused variable ‘y’ [-Wunused-variable] int i, j, tmin, x, y; ^ user.cpp: In function ‘char** read(int*, int*)’: user.cpp:22:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%i%i", n, m); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit420kbTime limit exceeded.00
2Depăşit628kbTime limit exceeded.0
3Depăşit532kbTime limit exceeded.0
4Depăşit552kbTime limit exceeded.0
5Depăşit600kbTime limit exceeded.0
6Depăşit440kbTime limit exceeded.00
7Depăşit572kbTime limit exceeded.0
8Depăşit628kbTime limit exceeded.0
9Depăşit404kbTime limit exceeded.0
10Depăşit416kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?