- 分享
快读
- 2022-11-8 12:52:54 @
int
{
int x=0,y=1;
char s=getchar();
while(s!='-'&&(s<'0'||s>'9'))s=getchar();
if(s=='-'){
y=-1;
s=getchar();
}
while(s>='0'&&s<='9')x=(x<<1)+(x<<3)+s-'0',s=getchar();
return x*y;
}
1 条评论
-
2021dujiarui LV 6 @ 2022-11-9 12:57:19
666676
- 1