A -- simple math problem Time Limit:2s Memory Limit:128MByte Submissions:1599Solved:270 Time Limit:2s Memory Limit:128MByte Submissions:1599Solved:270 ...
分类:
其他好文 时间:
2017-07-30 00:55:57
阅读次数:
211
Problem Description Therearex frogs and y chicken in a garden. Kim found there are n heads and m legs in the garden. Please tell Kim how many frogs an ...
分类:
其他好文 时间:
2017-07-24 11:43:59
阅读次数:
160
1.题意:一条河长为L,河上有N块石头,一只青蛙可以利用这些石头从河的一端跳到对岸,可以跳不超过M次,求各种跳法中,找到最小化的最大步长。输入第一行依次给出L、N、M,第二行依次给出N块石头距离起点的距离。 2.分析:这类最小化最大值的问题用二分来求解最高效。先预先处理,连同起点,终点,共N+2个点 ...
分类:
其他好文 时间:
2017-07-20 22:14:22
阅读次数:
147
Party n frogs are invited to a tea party. Frogs are conveniently numbered by 1,2,…,n. The tea party has black and green tea in service. Each frog has ...
分类:
其他好文 时间:
2017-07-10 13:24:00
阅读次数:
244
The Frog's Games Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65768/65768 K (Java/Others)Total Submission(s): 7307 Accepted Submission(s): 349 ...
分类:
其他好文 时间:
2017-07-02 19:41:55
阅读次数:
171
题目链接:http://www.ifrog.cc/acm/problem/1137 题解:设m=n-z sin(x)+sin(y)=sin(m-y)+sin(y)利用公式得最大值为sqrt(sin(m)*sin(m)+(1-cos(m))*(1-cos(m))) 所以只要便利一下z就可以了。 ...
分类:
其他好文 时间:
2017-06-24 15:29:28
阅读次数:
111
fastdfs 简介FastDFS是一个国产开源的轻量级分布式文件系统,它对文件进行管理,功能包括:文件存储、文件同步、文件访问(文件上传、文件下载)等,解决了大容量存储和负载均衡的问题。特别适合以文件为载体的在线服务,如相册网站、视频网站等等。FastDFS服务端有两个角色:跟踪器(tracker ...
分类:
其他好文 时间:
2017-06-23 18:21:11
阅读次数:
2782
题目链接 Problem Description The Old Frog King lives on the root of an infinite tree. According to the law, each node should connect to exactly two nodes ...
分类:
其他好文 时间:
2017-06-18 20:47:29
阅读次数:
239
Frogger Time Limit: 2 Seconds Memory Limit: 65536 KB Freddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who is ...
分类:
其他好文 时间:
2017-06-15 21:48:09
阅读次数:
188