#25512: d073: n>0,不需要if


s10900156@nhsh.tp.edu.tw (ShanC)


scanf("%d",&n);

用while(n>0),每次-3,看要減幾遍,這個「幾遍」就是答案