ZOJ 3662 Math Magic 第37届ACM/ICPC长春赛区H题(DP)
摘要:
Math MagicTime Limit: 3 Seconds Memory Limit: 32768 KBYesterday, my teacher taught us about math: +, -, *, /, GCD, LCM... As you know, LCM (Least common multiple) of two positive numbers can be solved easily because of a * b = GCD (a, b) * LCM (a, b).In class, I raised a new idea: "how to calcu 阅读全文
posted @ 2012-10-17 13:35 kuangbin 阅读(1398) 评论(0) 推荐(0) 编辑