Pagini recente » Borderou de evaluare (job #2684208) | Borderou de evaluare (job #3187654) | Borderou de evaluare (job #1158263) | Borderou de evaluare (job #1680313) | Borderou de evaluare (job #1478189)
Borderou de evaluare (job #1478189)
Raport evaluator
Compilare:
user.cpp: In function ‘void dp(short int (*)[202], int, int, int, int, int, int)’:
user.cpp:55:62: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: [enabled by default]
d[i][j] = max(d[i][j], max(d[i-di][j], d[i][j-dj]));
^
In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0,
from /usr/include/c++/4.8/ios:40,
from /usr/include/c++/4.8/istream:38,
from /usr/include/c++/4.8/fstream:38,
from user.cpp:1:
/usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: candidate 1: const _Tp& std::max(const _Tp&, const _Tp&) [with _Tp = short int]
max(const _Tp& __a, const _Tp& __b)
^
user.cpp:44:5: note: candidate 2: int max(short int&, int)
int max(short &a, int b)
^
user.cpp:55:63: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: [enabled by default]
d[i][j] = max(d[i][j], max(d[i-di][j], d[i][j-dj]));
^
In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0,
from /usr/include/c++/4.8/ios:40,
from /usr/include/c++/4.8/istream:38,
from /usr/include/c++/4.8/fstream:38,
from user.cpp:1:
/usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: candidate 1: const _Tp& std::max(const _Tp&, const _Tp&) [with _Tp = short int]
max(const _Tp& __a, const _Tp& __b)
^
user.cpp:44:5: note: candidate 2: int max(short int&, int)
int max(short &a, int b)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 512kb | OK | 5 |
2 | 0ms | 512kb | OK | 5 |
3 | 0ms | 508kb | OK | 5 |
4 | 0ms | 512kb | OK | 5 |
5 | 0ms | 556kb | OK | 5 |
6 | 0ms | 560kb | OK | 5 |
7 | 16ms | 724kb | Incorect | 0 |
8 | 20ms | 724kb | Incorect | 0 |
9 | 24ms | 752kb | Incorect | 0 |
10 | 24ms | 752kb | Incorect | 0 |
11 | 44ms | 800kb | Incorect | 0 |
12 | 0ms | 512kb | OK | 5 |
13 | 12ms | 684kb | Incorect | 0 |
14 | 76ms | 892kb | Incorect | 0 |
15 | 96ms | 900kb | Incorect | 0 |
16 | 96ms | 892kb | Incorect | 0 |
17 | 96ms | 896kb | Incorect | 0 |
18 | 92ms | 892kb | Incorect | 0 |
19 | 92ms | 896kb | Incorect | 0 |
20 | 92ms | 892kb | Incorect | 0 |
Punctaj total | 35 |