Pagini recente » Borderou de evaluare (job #1541300) | Borderou de evaluare (job #1009424) | Borderou de evaluare (job #1581964) | Borderou de evaluare (job #1078646) | Borderou de evaluare (job #914042)
Borderou de evaluare (job #914042)
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:52:5: error: reference to ‘end’ is ambiguous
end[nod] = ++indice;
^
user.cpp:16:18: note: candidates are: int end [5005]
int start[maxn], end[maxn];
^
In file included from /usr/include/c++/4.8/bits/basic_string.h:42:0,
from /usr/include/c++/4.8/string:52,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from user.cpp:1:
/usr/include/c++/4.8/initializer_list:99:5: note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
end(initializer_list<_Tp> __ils) noexcept
^
In file included from /usr/include/c++/4.8/string:51:0,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from user.cpp:1:
/usr/include/c++/4.8/bits/range_access.h:97:5: note: template<class _Tp, unsigned int _Nm> _Tp* std::end(_Tp (&)[_Nm])
end(_Tp (&__arr)[_Nm])
^
/usr/include/c++/4.8/bits/range_access.h:78:5: note: template<class _Container> decltype (__cont.end()) std::end(const _Container&)
end(const _Container& __cont) -> decltype(__cont.end())
^
/usr/include/c++/4.8/bits/range_access.h:68:5: note: template<class _Container> decltype (__cont.end()) std::end(_Container&)
end(_Container& __cont) -> decltype(__cont.end())
^
user.cpp: In function ‘int main()’:
user.cpp:88:41: error: reference to ‘end’ is ambiguous
if (start[i] <= start[j] && end[j] <= end[i])
^
user.cpp:16:18: note: candidates are: int end [5005]
int start[maxn], end[maxn];
^
In file included from /usr/include/c++/4.8/bits/basic_string.h:42:0,
from /usr/include/c++/4.8/string:52,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from user.cpp:1:
/usr/include/c++/4.8/initializer_list:99:5: note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 12ms | 6612kb | OK | 4 | 4 |
2 | 12ms | 6616kb | OK | 4 | 4 |
3 | 12ms | 6620kb | OK | 4 | 4 |
4 | 16ms | 6636kb | OK | 4 | 4 |
5 | 40ms | 6668kb | OK | 4 | 16 |
6 | 680ms | 6844kb | OK | 4 |
7 | 40ms | 6664kb | OK | 4 |
8 | 764ms | 6852kb | OK | 4 |
9 | 688ms | 6852kb | OK | 4 | 12 |
10 | 544ms | 6848kb | OK | 4 |
11 | 652ms | 6848kb | OK | 4 |
12 | 12ms | 6616kb | OK | 4 | 4 |
13 | 12ms | 6624kb | OK | 4 | 4 |
14 | 20ms | 6640kb | OK | 4 | 4 |
15 | 24ms | 6640kb | OK | 4 | 4 |
16 | 24ms | 6652kb | OK | 4 | 4 |
17 | 28ms | 6656kb | OK | 4 | 4 |
18 | 648ms | 6848kb | OK | 4 | 24 |
19 | 204ms | 6764kb | OK | 4 |
20 | 352ms | 6812kb | OK | 4 |
21 | 600ms | 6852kb | OK | 4 |
22 | 620ms | 6848kb | OK | 4 |
23 | 652ms | 6852kb | OK | 4 |
24 | 688ms | 6848kb | OK | 4 | 8 |
25 | 800ms | 6848kb | OK | 4 |
Punctaj total | 0 |