码迷,mamicode.com
首页 >  
搜索关键字:HERE    ( 6715个结果
随机数之石头剪刀布游戏
此问题源于Ptyhon核心编程上的一道题: Random Numbers. Design a “rock, paper, scissors” game,sometimes called “Rochambeau,” a game you may have played as a kid. Here are the rules. At the same time, using specified h...
分类:其他好文   时间:2015-04-22 22:14:37    阅读次数:124
假设数n在b进制下为回文数,求最小的b
题目链接:here假设n=b0+b1+b2....+bk如果b2n,那么n在b进制下只有两个数组成要组成回文树,则xb+x=n b=n/x-1 ,(n%x==0,x#include#includeusing namespace std;#define ll long longll a[100];bo...
分类:其他好文   时间:2015-04-22 17:33:50    阅读次数:102
Java有多少个关键字
官方说法:http://docs.oracle.com/javase/tutorial/java/nutsandbolts/_keywords.html为了方便我直接复制过来了,原文如下:Here's a list of keywords in the Java programming langua...
分类:编程语言   时间:2015-04-22 01:56:49    阅读次数:191
解决has leaked ServiceConnection com.baidu.location.c@427b6780
解决“has leaked ServiceConnection com.baidu.location.c@427b6780 that was originally bound here”的错误,需要修改AndroidManifest.xml文件。 配置Map定位权限和远程链接机制。不然,就会报下面的错误: has leaked ServiceConnection com.baidu.locat...
分类:其他好文   时间:2015-04-21 20:53:42    阅读次数:1239
【组队赛#8】BNU 1084 Expected Allowance (母函数)
【题目链接】click here~~   【题目大意】给出一个n个骰子,每个骰子有m个面,给出一个削减值k,也就是所有的骰子点数(每个点数的概率)得和要减去k,如果减去的值小于1,则得到的钱也至少是1;要求出他能得到钱的期望值 【解题思路】 dfs: #include using namespace std; double pow(double n,double m)...
分类:其他好文   时间:2015-04-21 13:09:41    阅读次数:200
【CTF】Reverse Backdoor 2015 Echo
来源: Backdoor CTF 2015 Little Suzie started learning C. She created a simple program that echo's back whatever you input. Here is the binary file. The ...
分类:其他好文   时间:2015-04-20 16:20:20    阅读次数:318
WHU1564---Circle (后缀数组)
Description Here is a circle sequence S of length n, and you can choose a position and remove the number on it. After that,you will get a integer. More formally,you choose a number x( 1<=x<=n ),then...
分类:编程语言   时间:2015-04-20 15:01:12    阅读次数:209
wl18xx module crash with "wlcore: ERROR ELP wakeup timeout!"
[ 111.322967] wlcore: ERROR ELP wakeup timeout![ 111.327636] ------------[ cut here ]------------[ 111.332672] WARNING: at /home/snq/rowboat-android.....
分类:其他好文   时间:2015-04-20 12:50:00    阅读次数:275
【组队赛#7】BNU 4275 Your Ways(数学题 + 动态规划)
【题目链接】:click here~~ 【题目大意】:题意:给出一个w*h的方格,问除去不能走的路,从(0,0)到(w,h)共有多少种走法。 【解题思路】:第七场比赛的题,最后一小时在看这道题,比较遗憾最后还是没有A出来,赛后重新看了看题目,理清一下思路,发现就是道简单的dp, 处理一下除去不能走的路,不过要注意题目的一句话:“ The blocking is done in such a...
分类:其他好文   时间:2015-04-20 08:10:55    阅读次数:127
【CTF】RE Backdoor CTF 2015 TEAM 600
来源: Backdoor CTF 2015 There is a wierd kind of authentication service running: nc hack.bckdr.in 8004. The binary can be found here. The vampire says t...
分类:其他好文   时间:2015-04-19 15:59:21    阅读次数:194
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!