哪种快写在时空上更优一些
void write(int x){
if(x<0){
x=-x;
putchar('-');
}
if(x>10)write(x/10);
putchar(x%10+'0');
}
void write(int x){
if(x<0){
putchar('-');
x=-x;
}
static int sta[35];
int top=0;
do{
sta[top++]=x%10,x/=10;
}while(x);
while(top)putchar(sta[--top]+'0');
}