1137 - Sin your life sin公式 + 枚举
摘要:
http://www.ifrog.cc/acm/problem/1137 和差化积公式, 变成2 * sin((x + y) / 2) * cos((x - y) / 2) + sin(n - (x + y)) 然后很重要的一个就是cos(x) = cos(-x) 这样,枚举x + y的取值i,当x 阅读全文
posted @ 2017-07-01 11:38 stupid_one 阅读(185) 评论(0) 推荐(0)
浙公网安备 33010602011771号