|  | 
|  | 
| back to board | WA 18 Why Wa18? What is test?Re: WA 18 Posted by alp  14 Jan 2013 21:30I think fraction part.AC got
 q:=q*100000;
 q_int:=round(q) div 100;
 BUT WA 34 got
 q:=q*100000;
 q_int:=trunc(q) div 100;
 and
 q:=q*10000;
 q_int:=trunc(q) div 10;
Re: WA 18 Here is test:2
 0.1 0
 -1.9 0
 ----------
 2 0.100000
 | 
 | 
|