码迷,mamicode.com
首页 >  
搜索关键字:i think i need a hou    ( 4897个结果
Clock Angle
ProblemWe are given a specific time(like 02:23), we need to get the angle between hour and minute(less than 180)Solution 1 public static double clockA...
分类:其他好文   时间:2014-11-21 10:36:27    阅读次数:211
01背包
输入 每个测试点(输入文件)有且仅有一组测试数据。 每组测试数据的第一行为两个正整数N和M,表示奖品的个数,以及小Ho手中的奖券数。 接下来的n行描述每一行描述一个奖品,其中第i行为两个整数need(i)和value(i),意义如前文所述。 测试数据保证 对于100%的数据,N的值不超过500,M的值不超过10^5 对于100%的数据,need(i)不超过2*10^5, value(i...
分类:其他好文   时间:2014-11-21 01:45:03    阅读次数:177
Andy's First Dictionary
Description Andy, 8, has a dream - he wants to produce his very own dictionary. This is not an easy task for him, as the number of words that he knows is, well, not quite enough. Instead of think...
分类:其他好文   时间:2014-11-20 23:50:12    阅读次数:354
HDU 4082 Hou Yi's secret --枚举
题意: 给n个点,问最多有多少个相似三角形(三个角对应相等)。解法: O(n^3)枚举点,形成三角形,然后记录三个角,最后按三个角度依次排个序,算一下最多有多少个连续相等的三元组就可以了。注意:在同一个坐标的两点只算一次,所以要判一下。代码:#include #include #include #i...
分类:其他好文   时间:2014-11-20 23:18:38    阅读次数:215
thinkphp 上传图片
$upload = new \Think\Upload();// 实例化上传类          $upload->maxSize   =     3145728 ;// 设置附件上传大小          $upload->exts      =     array('jpg', 'gif', 'png', 'jpeg');// 设置附件上传类型          $upload->sav...
分类:Web程序   时间:2014-11-20 18:47:40    阅读次数:184
为什么构造器不能是abstract, static, final, native or synchronized的?
Unlike methods, a constructor cannot be abstract, static, final, native or synchronized. 1. A constructor is not inherited, so there is no need to dec...
分类:其他好文   时间:2014-11-20 11:42:59    阅读次数:222
[label][Fireworks][转载] Web Slices - Fireworks CS5
Web Slices – Fireworks CS5http://bestwebdesignz.com/tips/fireworks/web-slices-fireworks-cs5/Need a Website?Contact Us Now!This entry is part 12 of 14 ...
分类:Web程序   时间:2014-11-20 11:38:05    阅读次数:271
POJ 2251-Dungeon Master(BFS)
Dungeon Master Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 17007   Accepted: 6620 Description You are trapped in a 3D dungeon and need to find the quicke...
分类:其他好文   时间:2014-11-19 20:36:24    阅读次数:145
c++ using Handle Class Pattern to accomplish implementation hiding
Reference material:Thinking In C++ 2nd eidition chapter 5 section "Handle classes"If there's something need to be hidden from clients of the class (su...
分类:编程语言   时间:2014-11-19 20:08:08    阅读次数:235
How to get download games hack cheat tools to get coins ,Diamonds and money in games
If you need any game cheat tool at free of cost without doing survey and other stuffs then directly get download from crazygamehacks.com .we provide y...
分类:其他好文   时间:2014-11-19 13:58:54    阅读次数:508
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!