fork download
  1. #include <algorithm>
  2.  
  3. bool comp(int x, int y)
  4. {
  5. return x < y;
  6. }
  7.  
  8. #define SIZE 1000000
  9.  
  10. int main()
  11. {
  12. int arr[SIZE];
  13. int count = 10;
  14. while(count--)
  15. {
  16. std::sort(arr, arr + SIZE, comp);
  17. }
  18. }
Success #stdin #stdout 0.66s 7120KB
stdin
Standard input is empty
stdout
Standard output is empty