Pasiekiami skaičiai
- [1] 2019-12-24 12:25 (5)
- [2] 2019-12-24 12:29 (5)
- [3] 2019-12-24 13:02 (15)
- [4] 2019-12-25 22:01 (50)
- [5] 2019-12-25 22:03 (50)
- [6] 2019-12-25 22:04 (55.0)
- [7] 2019-12-25 22:06 (80)
- [8] 2019-12-25 22:23 (80)
- [9] 2019-12-25 22:24 (80)
- [10] 2019-12-25 22:33 (80)
- [11] 2019-12-25 22:39 (80)
- [12] 2019-12-25 22:40 (80)
- [13] 2019-12-25 22:41 (80)
- [14] 2019-12-25 22:42 (40)
- [15] 2019-12-25 22:44 (80)
- [16] 2019-12-25 23:01 (80)
- [17] 2019-12-25 23:09 (80)
- [18] 2019-12-25 23:10 (0)
- [19] 2019-12-25 23:10 (0)
- [20] 2019-12-25 23:10 (80)
- [21] 2019-12-25 23:24 (80)
- [22] 2019-12-25 23:25 (80)
- [23] 2019-12-26 11:41 (0)
- [24] 2019-12-26 11:42 (80)
- [25] 2019-12-26 11:45 (80)
- [26] 2019-12-26 11:46 (80)
- [27] 2019-12-26 11:47 (80)
- [28] 2019-12-26 11:48 (40)
- [29] 2019-12-26 11:49 (50)
- [30] 2019-12-26 11:50 (80)
- [31] 2019-12-26 11:52 (0)
- [32] 2019-12-26 11:53 (80)
- [33] 2019-12-26 11:54 (40)
- [34] 2019-12-26 11:55 (80)
- [35] 2019-12-26 12:01 (100)
Taškai: 0
Compile: FAIL
pasiekiami.cpp: In function ‘int main(int, const char**)’: pasiekiami.cpp:110:17: error: no matching function for call to ‘max(long long int&, int)’ a = max(a, 0); ^ In file included from /usr/include/c++/5/bits/char_traits.h:39:0, from /usr/include/c++/5/ios:40, from /usr/include/c++/5/ostream:38, from /usr/include/c++/5/iostream:39, from pasiekiami.cpp:9: /usr/include/c++/5/bits/stl_algobase.h:219:5: note: candidate: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/5/bits/stl_algobase.h:219:5: note: template argument deduction/substitution failed: pasiekiami.cpp:110:17: note: deduced conflicting types for parameter ‘const _Tp’ (‘long long int’ and ‘int’) a = max(a, 0); ^ In file included from /usr/include/c++/5/bits/char_traits.h:39:0, from /usr/include/c++/5/ios:40, from /usr/include/c++/5/ostream:38, from /usr/include/c++/5/iostream:39, from pasiekiami.cpp:9: /usr/include/c++/5/bits/stl_algobase.h:265:5: note: candidate: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/5/bits/stl_algobase.h:265:5: note: template argument deduction/substitution failed: pasiekiami.cpp:110:17: note: deduced conflicting types for parameter ‘const _Tp’ (‘long long int’ and ‘int’) a = max(a, 0); ^
nr. | result | time | message |
---|