January 30 2017 Week 5 Monday】的更多相关文章

I can accept defeat but could not accept to give up. 我可以接受失败,但不能接受放弃. Fortune has not always smiled on every of us. As long as you are willing to go forward, there must be some way just for you. Be brave to accept the reality, success or failure, win…
让你在平面上取一个点,使得其到给定的所有点的距离和最小. 就是“费马点”. 模拟退火……日后学习一下,这是从网上扒的,先存下. #include<iostream> #include<cstdio> #include<cstdlib> #include<cmath> #include<ctime> using namespace std; int n; double xx,yy,ans,t; struct point{double x,y;}p[…
题意: 给定S1串,长度100w,S2串,长度1k.问它俩的LCS. f(i,j)表示S2串前i个字符,LCS为j时,最少需要的S1串的前缀长度.转移的时候,枚举下一个字符在S1的位置即可.(可以预处理出S1中每个字符出现位置的vector,在其中二分)…
一个区域,垂直分成三块,每块有一个速度限制,问你从左下角跑到右上角的最短时间. 将区域看作三块折射率不同的介质,可以证明,按照光路跑时间最短. 于是可以二分第一个入射角,此时可以推出射到最右侧边界上的位置,看什么时候恰好射到右上角即可. 这份sb代码貌似挂精度了. #include<cstdio> #include<iostream> #include<cmath> using namespace std; #define EPS 0.0000000001 int T,…
Patience is bitter, but its fruit is sweet. 忍耐是痛苦的,但它的果实是甜蜜的. Some patience may be just fruitless, or its fruits may be tasteless, sometimes even bitter. However, since the seeds are sowed by ourselves, the samplings are watered and cared by ourselve…
A day is a miniature of eternity. 一天是永恒的缩影. My life is short, but I can make something eternal. What my life will be all depends on what I do every day. If we can cherish every moment we have and make every day meaningful, then we will the entire lif…
Knowledge is long, life is short. 吾生也有涯,而知也无涯. I often feel that I have a lot of things to learn, nevertheless, it seems I always don't enough time to learn. Actually, I often waste my time and energy on some meaningless things. So, stop making usele…
In love, folly is always sweet. 恋爱中,干傻事总是让人感到十分美妙. Love can easily get us in over our heads, so it is not strange that sometimes we may do some fool things. Suggestion: To be a fool in love sometimes, don't be too smart. The things that we love tell…
FFmpeg Commits on May 30, 2017 https://github.com/FFmpeg/FFmpeg/commit/220b24c7c97dc033ceab1510549f66d0e7b52ef1 remove libschroedinger encoding and decoding wrappers The library has stopped being developed and Debian has removed it from its repositor…
We got things to do. Places to go. People to see. Futures to make. 我们有很多事情要做,有很多地方要去,有很多人要见,有很多美好的未来要创造. Since I joined this research team on September 6th, 2017, I have purchased many technical books to replenish my bookshelf, and the total number i…