摘要: There is an equation ax + by + c = 0. Given a,b,c,x1,x2,y1,y2 you must determine, how many integer roots of this equation are satisfy ... 阅读全文
posted @ 2018-04-07 23:12 KirinSB 阅读(212) 评论(0) 推荐(0) 编辑
摘要: Given the N integers, you have to find the maximum GCD (greatest common divisor) of every possiblepair of these integers.InputThe firs... 阅读全文
posted @ 2018-04-07 15:02 KirinSB 阅读(216) 评论(0) 推荐(0) 编辑