更新 作者: rin 时间: October 23, 2016 分类: 未分类 15 条评论 最近因为受不了Wordpress瞎改文章,转向Typecho:hj-huamoji28: ~~顺便~~为了上http/2重新编译配置了几遍vps:hj-huamoji27: 然后魔改了一下markdown的解析,加入了好用的表情:hj-huamoji25:(从853那里搞到的 现在除了emoji、Twemoji、Font awesome之外还可以使用我自定义的表情(我觉得叫**hua**mo**ji**比较好:hj-huamoji60:) 使用方法:套两个半角冒号 ``` :hj-ovo: ``` :hj-ovo: - 阅读剩余部分 -
[ICPC2016Dalian Onsite]D. A Simple Math Problem 作者: rin 时间: October 19, 2016 分类: Algo 评论 **Time Limited:1 Sec Memory Limited: 64M** ###Description Given two positive integers $$a$$ and $$b$$, find suitable $$X$$ and $$Y$$ to meet the conditions: $$X+Y=a$$ $$Least Common Multiple(X,Y)=b$$ :hj-ovo: ###Input Input includes multiple sets of test data, Each test data occupies one line, including two positive integers $$a(1\leq a\leq 2*10^{4})$$, $$b(1\leq b\leq 10^{9})$$, and their meanings are shown in the description. Contains most of the 12W test cases. ###Output For each set of input data, output a line of two integers, representing $$X$$, $$Y$$. If you cannot find such $$X$$ and $$Y$$, output one line of "No Solution"(without quotation). ###Sample Input ``` 6 8 798 10780 ``` ###Sample Output ``` No Solution 308 490 ``` - 阅读剩余部分 -