Back to General discussions forum
i am doing some excersices that the input is a huge number but i could use a long long variable, but when i try to use scanf with %ll, %lld, %I64d it says that it is incorrect warning: too many arguments for format [-Wformat-extra-args]
It may depend a bit on the compiler you are using. Usually this works
long long v;
scanf("%lld",&v);
How are you trying to do it?