数学
小鱼爱吃火锅
多学习,多积累
展开
-
求两个力的合力(正余弦函数角度值要转化成为弧度值计算)
链接:https://ac.nowcoder.com/acm/contest/330/J来源:牛客网 知 Applese 两只手分别产生的力的大小,以及它们之间的夹角,试求两力合力的大小。输入描述:仅一行三个整数 f1,f2,af1,f2,a,分别表示两只手产生的力的大小以及它们之间的夹角。输出描述: 输出一个实数表示两力合力的大小,要求相对误差或绝对误差不超过 ...原创 2019-01-29 15:43:53 · 2455 阅读 · 0 评论 -
炫酷双截棍
链接:https://ac.nowcoder.com/acm/contest/331/A来源:牛客网 小希现在手里有一个连着的两块木条,长度分别为l1l1,l2l2,木条之间有一个无摩擦的连接点,木条之间可以相互转动,小希将其称之为双截棍。现在小希把长为l1l1的木条的一端放在原点(0,0),任意转动这两根木条,小希想知道,是否有可能通过一种转动方式使得双截棍的另一端到达指定点呢? ...原创 2019-02-01 18:24:06 · 132 阅读 · 0 评论 -
The Meaningless Game(思维题)
Slastyona and her loyal dog Pushok are playing a meaninglessgamethat is indeed very interesting.Thegameconsists of multiplerounds. Its rules are very simple: in each round, a natural numberki...原创 2019-03-02 21:10:36 · 386 阅读 · 0 评论 -
祖之冲拼三角
u Chongzhi (429–500) was a prominent Chinese mathematician and astronomer during the Liu Song and Southern Qi Dynasties. Zu calculated the value ofπ to the precision of six decimal places and for a th...原创 2019-09-06 16:48:50 · 168 阅读 · 0 评论 -
Prime Friend
Besides the ordinary Boy Friend and Girl Friend, here we define a more academic kind of friend: Prime Friend. We call a nonnegative integer A is the integer B’s Prime Friend when the sum of A and B is...原创 2019-09-07 11:30:25 · 116 阅读 · 0 评论