F.A.Qs Home ProblemSet Status Ranklist Contest LoginRegister
Notice:1:注册本OJ方式请见https://www.lydsy.com/JudgeOnline/wttl/thread.php?tid=5671 2:请不要在讨论区中发空白主题帖。
大视野在线测评-欢迎您
[ New Thread ]
Problem 1867 >> 这题的坑点
KingSann @ 2018-07-24 10:11:09
[ Quote ] [ Edit ] [ Delete ] 1#
1. 直接输出答案,不要换行
2. 输入的话会有空格之类奇奇怪怪的东西,建议手动getchar
3. a/b + c/d = (ad+bc)/(bd), 设g=gcd(b,d) ,则a/b + c/d=(a*(d/g)+c*(b/g))/(b/g*d)
KingSann @ 2018-07-24 10:11:49
[ Quote ] [ Edit ] [ Delete ] 2#
哦对了,此题并不难(滑稽
ywy_c_asm @ 2018-07-24 16:52:40
[ Quote ] [ Edit ] [ Delete ] 3#
%%%
[Top] [Previous Page] [Next Page]

HOME Back