|
|
back to boardWhat is wrong? Posted by Anna 7 Feb 2010 10:00 Program ff; Var a,b:integer; Begin Readln(a); Readln(b); if (b-a) mod 2=0 then Writeln((b-a)/2) else Writeln((b-a) div 2+1); end. Re: What is wrong? Posted by sklyack 14 Apr 2010 20:37 Test: 1 5 Right answer: 3 Yours: 2 |
|
|