题意:给出n个圆,分别的半径,现在需要把它们分成f+1块,问每一块的面积和上面一题一样,二分面积,上限是这里面最大的圆的面积另外可以先只二分r*r,到最后再乘上pi,不过这题先乘后乘都能过不过不懂的是,输出是lf就一直wa,后来看了discuss,改成f就过了 1 #include 2 #inc.....
分类:
其他好文 时间:
2015-05-31 10:50:53
阅读次数:
97
简单的2维chart,支持选中,但是选中之后无法撤销。 source link: http://jsbin.com/sexipa/1/edit?html,output
分类:
其他好文 时间:
2015-05-30 13:25:48
阅读次数:
173
开源前端绘图插件参考:
(1)Highcharts(网址:http://www.hcharts.cn)
Highcharts是一款纯Javascript图表库,
让开发者很容易在Web网站、Web应用中创建交互性的图表。
Highcharts目前支持line , spline, area, areaspline,
column, bar, pie, scatter, angular g...
分类:
其他好文 时间:
2015-05-29 14:00:49
阅读次数:
280
导入环信的SDK后出现这样的waringld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in _ff_h264_dec...
分类:
其他好文 时间:
2015-05-26 22:54:24
阅读次数:
313
题目传送门 1 /* 2 模拟:这就是一道模拟水题,看到标签是贪心,还以为错了呢 3 题目倒是很长:) 4 */ 5 #include 6 #include 7 #include 8 #include 9 #include 10 using namespace std;11 ...
分类:
其他好文 时间:
2015-05-26 18:40:27
阅读次数:
185
Regionals 2006 >> Europe - Northwestern
3635 - PieTime limit: 3.000 seconds
My birthday is coming up and traditionally I’m
serving pie. Not just one pie, no, I have a number
N of them, of various t...
分类:
其他好文 时间:
2015-05-17 00:51:05
阅读次数:
108
题意:有一些男生女生,男生女生数量差不超过100,男生女生两两配对。要求求出一种配对方法,使每一对的高度差的和最小。思路:(我是真的笨笨笨!!磨磨唧唧写一堆是因为我笨!我看了别人的博客,思路全是学别人的,轻喷!)设人少的一组人数为n,b[],人多的一组人数为m,g[](b[],g[]先排好序),用d...
分类:
编程语言 时间:
2015-05-12 22:48:04
阅读次数:
189
a=[1,1.6,1.2,0.8,2.1];
subplot(1,2,1),pie(a,[1 0 1 0 0]),
legend({'1','2','3','4','5'})
subplot(1,2,2), b=int8(a==min(a)) ;pie3(a,b)
colormap(cool)...
分类:
其他好文 时间:
2015-05-11 07:44:41
阅读次数:
145
PIE stands for Progressive Internet Explorer. It is an IE attached behavior which, when applied to an element, allows IE to recognize and display a nu...