Ad
  • Custom User Avatar

    Why you convert the type implicitly in malloc function?
    It should be like "long long *result = (long long *)malloc(sizeof(long long) * n);", isn't, it?