| Codename | Αποτέλεσμα |
| 36-allthatjazz | Compilation error src_6813.cc: In function ‘int main()’: src_6813.cc:23:42: error: no matching function for call to ‘max(int&, long int)’ ans = std::max(ans, m-i+1); ^ In file included from /usr/include/c++/8/algorithm:61, from src_6813.cc:1: /usr/include/c++/8/bits/stl_algobase.h:219:5: note: candidate: ‘template max(const _Tp& __a, const _Tp& __b) ^~~ /usr/include/c++/8/bits/stl_algobase.h:219:5: note: template argument deduction/substitution failed: src_6813.cc:23:42: note: deduced conflicting types for parameter ‘const _Tp’ (‘int’ and ‘long int’) ans = std::max(ans, m-i+1); ^ In file included from /usr/include/c++/8/algorithm:61, from src_6813.cc:1: /usr/include/c++/8/bits/stl_algobase.h:265:5: note: candidate: ‘template max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^~~ /usr/include/c++/8/bits/stl_algobase.h:265:5: note: template argument deduction/substitution failed: src_6813.cc:23:42: note: deduced conflicting types for parameter ‘const _Tp’ (‘int’ and ‘long int’) ans = std::max(ans, m-i+1); ^ In file included from /usr/include/c++/8/algorithm:62, from src_6813.cc:1: /usr/include/c++/8/bits/stl_algo.h:3462:5: note: candidate: ‘template max(initializer_list<_Tp> __l) ^~~ /usr/include/c++/8/bits/stl_algo.h:3462:5: note: template argument deduction/substitution failed: src_6813.cc:23:42: note: mismatched types ‘std::initializer_list<_Tp>’ and ‘int’ ans = std::max(ans, m-i+1); ^ In file included from /usr/include/c++/8/algorithm:62, |