Pagini recente »
Borderou de evaluare (job #689085)
|
Borderou de evaluare (job #552111)
|
Borderou de evaluare (job #735523)
|
Borderou de evaluare (job #368249)
|
Borderou de evaluare (job #748570)
Borderou de evaluare (job #748570)
Raport evaluator
Compilare:
main.cpp: In function 'IntVector pathFinder(IntMatrix)':
main.cpp:26:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'unsigned int'} [-Wsign-compare]
26 | while (i < a.size() - 1 || j < a[0].size() - 1) {
| ~~^~~~~~~~~~~~~~
main.cpp:26:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
26 | while (i < a.size() - 1 || j < a[0].size() - 1) {
| ~~^~~~~~~~~~~~~~~~~
main.cpp:27:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
27 | if (j + 1 < a[0].size() && (i + 1 >= a.size() || a[i][j + 1] > a[i + 1][j])) {
| ~~~~~~^~~~~~~~~~~~~
main.cpp:27:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'unsigned int'} [-Wsign-compare]
27 | if (j + 1 < a[0].size() && (i + 1 >= a.size() || a[i][j + 1] > a[i + 1][j])) {
| ~~~~~~^~~~~~~~~~~
main.cpp:30:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'unsigned int'} [-Wsign-compare]
30 | } else if (i + 1 < a.size() && (j + 1 >= a[0].size() || a[i + 1][j] > a[i][j + 1])) {
| ~~~~~~^~~~~~~~~~
main.cpp:30:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
30 | } else if (i + 1 < a.size() && (j + 1 >= a[0].size() || a[i + 1][j] > a[i][j + 1])) {
| ~~~~~~^~~~~~~~~~~~~~
main.cpp: In function 'int pathSum(IntVector)':
main.cpp:44:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
44 | for (int i = 0; i < L.size(); i++) {
| ~~^~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
5 ms
|
245 kb
|
OK
|
10
|
2
|
5 ms
|
245 kb
|
OK
|
10
|
3
|
5 ms
|
245 kb
|
OK
|
10
|
4
|
5 ms
|
507 kb
|
Incorect
|
0
|
5
|
6 ms
|
245 kb
|
Incorect
|
0
|
6
|
7 ms
|
245 kb
|
Incorect
|
0
|
7
|
9 ms
|
249 kb
|
Incorect
|
0
|
8
|
28 ms
|
765 kb
|
Incorect
|
0
|
9
|
58 ms
|
1294 kb
|
Incorect
|
0
|
10
|
101 ms
|
1298 kb
|
Time limit exceeded
|
0
|
Punctaj total
|
30
|