Pagini recente » Borderou de evaluare (job #1339887) | Borderou de evaluare (job #1068364) | Borderou de evaluare (job #429983) | Borderou de evaluare (job #438868) | Borderou de evaluare (job #1369708)
Borderou de evaluare (job #1369708)
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 |
1 | Depăşit | 420kb | Time limit exceeded. | 0 | 0 |
2 | Depăşit | 628kb | Time limit exceeded. | 0 |
3 | Depăşit | 532kb | Time limit exceeded. | 0 |
4 | Depăşit | 552kb | Time limit exceeded. | 0 |
5 | Depăşit | 600kb | Time limit exceeded. | 0 |
6 | Depăşit | 440kb | Time limit exceeded. | 0 | 0 |
7 | Depăşit | 572kb | Time limit exceeded. | 0 |
8 | Depăşit | 628kb | Time limit exceeded. | 0 |
9 | Depăşit | 404kb | Time limit exceeded. | 0 |
10 | Depăşit | 416kb | Time limit exceeded. | 0 |
Punctaj total | 0 |