-------数学-------
文章平均质量分 91
Albert__s
一直奔跑总会有出头之日。
展开
-
CodeForces 714A Meeting of Old Friends 【数学计算】【基础】
Description Today an outstanding event is going to happen in the forest — hedgehog Filya will come to his old fried Sonya! Sonya is an owl and she sleeps during the day and stay awake from minut原创 2017-02-05 23:15:57 · 557 阅读 · 0 评论 -
CodeForces 1A Theatre Square 【数学】【精度】
附上几组数据: 1 1 1 1 1000000000 1000000000 1 1000000000000000000 1000000000 987654321 1 987654321000000000 AC原创 2017-02-17 00:06:53 · 781 阅读 · 0 评论 -
51nod 1130 N的阶乘的长度 V2(斯特林近似) 【数学】【斯特林公式】
在进入正视讲解之前我们先来看一道简单点的题目压压惊。题目链接:51nod1058Description: 输入N求N的阶乘的10进制表示的长度。例如6! = 720,长度为3。Input 输入N(1 <= N <= 10^6)Output 输出N的阶乘的长度Input示例 6Output示例 3题目大意: 很明确,就是求n!的长度解题思路: 我们知道,对于任意的数n,len=log10原创 2017-05-16 21:43:04 · 697 阅读 · 0 评论 -
CodeForces 810C Do you want a date? 【数学】【排序】
题目链接:Codeforces Round #415 (Div. 2) CDescprition: Leha decided to move to a quiet town Vičkopolis, because he was tired by living in Bankopolis. Upon arrival he immediately began to expand his network原创 2017-05-22 11:46:07 · 618 阅读 · 0 评论 -
玲珑学院 1137 Sin your life 【数学】
1137 - Sin your life Time Limit:1s Memory Limit:128MByte Submissions:613Solved:112 DESCRIPTION 给一个正整数nn,求下列表达式的最大值: (sin(x)+sin(y)+sin(z))[x+y+z=n][x≥1][y≥1][z≥1](sin(x)+sin(y)+si原创 2017-07-27 20:16:55 · 485 阅读 · 0 评论