tag:blogger.com,1999:blog-3239487108785691043.post4330300265394211618..comments2022-04-02T20:00:01.439-07:00Comments on Blog of TurtleShip: TopCoder SRM 537 DIV1 and DIV2Seulgi Kimhttp://www.blogger.com/profile/04094679195714741322noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-3239487108785691043.post-3231334751080456242014-02-19T21:59:37.171-08:002014-02-19T21:59:37.171-08:00Y <= max(A,B)
Didn't understand where you ...Y <= max(A,B)<br /><br />Didn't understand where you got that constraint from. And didn't understand AT ALL how this happened:<br /><br />As = positive values of (A - X*a) where 0 <= a<br />Bs = positive values of (B - Y*c) where 0 <= c<br />Then we are looking for integers Y that satisfy<br />As[i] % Y == 0 and Bs[j] % Y == 0<br />Madbawahttps://www.blogger.com/profile/02699152723888966145noreply@blogger.comtag:blogger.com,1999:blog-3239487108785691043.post-2036653142475239442012-05-23T16:53:52.164-07:002012-05-23T16:53:52.164-07:00Thx for the suggestion :-)Thx for the suggestion :-)Seulgi Kimhttps://www.blogger.com/profile/04094679195714741322noreply@blogger.comtag:blogger.com,1999:blog-3239487108785691043.post-11142054268046285372012-05-23T06:18:43.247-07:002012-05-23T06:18:43.247-07:00Maybe you could use a Javascript code prettifier? ...Maybe you could use a Javascript code prettifier? http://code.google.com/p/google-code-prettify/bloopshttps://www.blogger.com/profile/16440040040357087808noreply@blogger.comtag:blogger.com,1999:blog-3239487108785691043.post-14804023109229792682012-03-20T05:07:07.135-07:002012-03-20T05:07:07.135-07:00I am currently using http://codeformatter.blogspot...I am currently using http://codeformatter.blogspot.com/ <br />to format my source code. <br /><br />I know my source code looks a bit ugly in the current format, so if you know a website that can format my code better, please let me know.<br /><br />Thanks a million in advance.Seulgi Kimhttps://www.blogger.com/profile/04094679195714741322noreply@blogger.com