2016年10月1日

hdu 3579 Hello Kiki

摘要: http://acm.hdu.edu.cn/showproblem.php?pid=3579 注意下最后的答案等于0是不行的,因为要的是正整数 #include <cstdio> #include <cstdlib> #include <cstring> #include <cmath> #incl 阅读全文

posted @ 2016-10-01 23:02 stupid_one 阅读(167) 评论(0) 推荐(0) 编辑

HDU 1573 X问题

摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1573 解出最小解rr后,特判下其是否为0,为0的话,就直接n / lcm 否则 + 1 #include <cstdio> #include <cstdlib> #include <cstring> #inclu 阅读全文

posted @ 2016-10-01 21:32 stupid_one 阅读(182) 评论(0) 推荐(0) 编辑

导航