之前整理了一部分使用技巧了,但是在实际操作中发现phpstorm的技巧实在是太多了,所以大部分都统一整理到这篇文字中 ,备用插件11:phpstrom的插件Provides live edit HTML/CSS/JavaScript.配合chrome的jb插件(http://www.j...
分类:
Web程序 时间:
2014-07-14 14:49:08
阅读次数:
271
题目:输出给定区间中,本身是素数,并且这个数的各位之和也是素数的数(称为位素数)的个数。
分析:数论。首先利用筛法,求出1000000内的所有的素数;然后在利用生成的素数表,
判断每个数是不是各位之和也是素数;再后求出从0开始到任意区间中包含位素数数的个数;
最后输出两个区间之差就是区间中的位素数的个数。
说明:达标法计算,查询输出。
#i...
分类:
其他好文 时间:
2014-07-14 11:17:54
阅读次数:
214
1.打开“日志账户”—>“日志选项”。 2.点击“更新账户信息”。 3.输入博客地址,用户名和密码,点击“下一步”。 4.耐心等待片刻。。。 5.设置“日志昵称”,点击“完成”。 这样就大功告成了。
uva11525:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2520题意:求1,2,3,4,.....k个数所形成的全排列中的第n个。其中n的是由计算出...
分类:
其他好文 时间:
2014-07-13 21:13:52
阅读次数:
261
题目链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=6913874119133The Dole QueueAcceptedC++0.0092014-07...
分类:
其他好文 时间:
2014-07-13 20:59:42
阅读次数:
226
题目连接:uva 10560 - Minimum Weight题目大意:给出n,问说至少须要多少个不同重量的砝码才干称量1~n德重量,给出所选的砝码重量,而且给出k,表示有k个重量须要用上述所选的砝码測量。解题思路:重量为1的砝码肯定要选,它能够表示到1的重量,那么下一个砝码的重量肯定选择3(2?1...
分类:
其他好文 时间:
2014-07-13 20:22:53
阅读次数:
192
题目链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2136
Problem A
Another n-Queen Problem
I guess the n-queen problem is known by every ...
分类:
其他好文 时间:
2014-07-13 18:16:11
阅读次数:
498
Matrix Chain Multiplication
Suppose you have to evaluate an expression like A*B*C*D*E where A,B,C,D and E are matrices. Since matrix multiplication is associative, the order in which multi...
分类:
其他好文 时间:
2014-07-13 18:10:40
阅读次数:
223
Parentheses Balance
You are given a string consisting of parentheses () and []. A string of this type is said to be correct:
(a)if it is the empty string(b)if A and B are correct, AB is c...
分类:
其他好文 时间:
2014-07-13 15:42:59
阅读次数:
207