| Problem | sadtrainer | 
|---|---|
| User | vadar2525 | 
| Submission Time | 2025-04-23 16:23:39 | 
| Score | 0 | 
| Max Time | N/A | 
| Max Memory | N/A | 
Owl Get a Life
 sadtrainer.cpp: In function ‘int main()’:
sadtrainer.cpp:15:10: error: no matching function for call to ‘sort(int, long long int&)’
   15 | sort(0, n);
      |          ^
In file included from /usr/include/c++/9/algorithm:62,
                 from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
                 from sadtrainer.cpp:2:
/usr/include/c++/9/bits/stl_algo.h:4863:5: note: candidate: ‘template<class _RAIter> void std::sort(_RAIter, _RAIter)’
 4863 |     sort(_RandomAccessIterator __first, _RandomAccessIterator __last)
      |     ^~~~
/usr/include/c++/9/bits/stl_algo.h:4863:5: note:   template argument deduction/substitution failed:
sadtrainer.cpp:15:10: note:   deduced conflicting types for parameter ‘_RAIter’ (‘int’ and ‘long long int’)
   15 | sort(0, n);
      |          ^
In file included from /usr/include/c++/9/algorithm:62,
                 from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,