#include <stdlib.h>
int
comp(const void * x, const void * y)
{
return *(int*)x - *(int*) y;
}
#define SIZE 1000000
int
main()
{
int arr[SIZE];
int count = 10;
while(count--)
{
qsort(arr
, SIZE
, sizeof(int), comp
); }
}
I2luY2x1ZGUgPHN0ZGxpYi5oPgoKaW50CmNvbXAoY29uc3Qgdm9pZCAqIHgsIGNvbnN0IHZvaWQgKiB5KQp7CiAgcmV0dXJuICooaW50Kil4IC0gKihpbnQqKSB5Owp9CgojZGVmaW5lIFNJWkUgMTAwMDAwMAoKaW50Cm1haW4oKQp7CiAgICBpbnQgYXJyW1NJWkVdOwogICAgaW50IGNvdW50ID0gMTA7CiAgICB3aGlsZShjb3VudC0tKQogICAgewogICAgICAgIHFzb3J0KGFyciwgU0laRSwgc2l6ZW9mKGludCksIGNvbXApOwogICAgfQp9