I'm using C to submit a problem. I get Presentation Error if I use "%I64d" as a format specifier to print a variable of type "long long" . just like below:
Code: Select all
long long a = 10;
printf("%I64d", a);
But I get AC if I use "%lld" instead of "%I64d". What is the reason behind this?