Cpp fast IO

which is fastest io for negative and positive numbers

both for input and output

inline int sscan()
{register int n=0,c=gc();
while(c<‘0’||c>‘9’)
c=gc();
while(c<=‘9’&&c>=‘0’)
{
n=n*10+c-‘0’;
c=gc();
}
return n;
}

this is giving wrong ans