- 博客(4)
- 收藏
- 关注
原创 URAL 1010 Discrete Function(解题报告)
Description There is a discrete function. It is specified for integer arguments from 1 to N (2 ≤ N ≤ 100000). Each value of the function is longint (signed long in C++). You have to find such two
2012-08-11 14:39:46 871
原创 POJ 2993 Emag eht htiw Em Pleh解题报告
Description This problem is a reverse case of the problem 2996. You are given the output of the problem H and your task is to find the corresponding input. Input according to output of proble
2012-08-11 11:20:17 1183 1
转载 三分法——求解凸性函数的极值问题(转载自czyuan)
二分法作为分治中最常见的方法,适用于单调函数,逼近求解某点的值。但当函数是凸性函数时,二分法就无法适用,这时三分法就可以“大显身手”~~ 如图,类似二分的定义Left和Right,mid = (Left + Right) / 2,midmid = (mid + Right) / 2; 如果mid靠近极值点,则Right = midmid;否则(即midmid靠近
2012-08-10 16:33:55 878
转载 HDU 1017 A Mathematical Curiosity(解题报告)
A Mathematical Curiosity 转载自傻B园 Problem Description Given two integers n and m, count the number of pairs of integers (a,b) such that 0 This problem contains multiple test cases! The f
2012-08-01 08:38:56 674
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人