std::ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
和
inline int read()
{
int x=0;
char c=getchar();
bool f=0;
while (c<'0'||c>'9')
{
if (c=='-') f=1;
c=getchar();
}
while (c>='0'&&c<='9')
{
x=(x<<3)+(x<<1)+c-'0';
c=getchar();
}
return f?-x:x;
}
哪个更快一点?