|
|
back to boardwhere's the mistake Posted by Amy 22 Jul 2003 15:32 [code deleted] Edited by moderator 04.12.2019 21:15 Re: where's the mistake [code deleted] if a mod y=0 then begin a:=a div y; pd:=a*b; end else if b mod y=0 then begin b:=b div y; pd:=a*b; end; Because a*b>maxlongint. [code deleted] Edited by moderator 04.12.2019 21:16 |
|
|