#12655: 關於測資


sdf6ry6j (等於等於)


測資可能不會都以0結尾

如果用while(scanf("%d",&n)&&n){...}會TLE

改成while(scanf("%d",&n)==1&&n){...}即可