Wrong Answer
/in/foo.cc: In function 'int main()': /in/foo.cc:14:35: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%I64d", &num[i]); ^ /in/foo.cc:37:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%I64d\n", max-min); ^