fork(1) download
  1. #include <iostream>
  2. #include <vector>
  3. #include <algorithm>
  4. #include <numeric>
  5. using namespace std;
  6.  
  7. bool sort_cmp( int a, int b )
  8. {
  9. return true;
  10. }
  11. int main()
  12. {
  13. vector<int> tv(1000);
  14. iota(tv.begin(), tv.end(), 1);
  15.  
  16. sort( tv.begin(), tv.end(), sort_cmp);
  17. for (int i : tv) {
  18. cout << i;
  19. }
  20. return 0;
  21. }
  22.  
Runtime error #stdin #stdout 0s 16064KB
stdin
Standard input is empty
stdout
Standard output is empty