JS PHP,采用tp框架/* AJAX加载更多 */ public function ajax_more() {//实例化模型 $doctor_evalue_reply = M('doctor_evalue_reply');//获取ajax传值...
分类:
其他好文 时间:
2014-08-14 23:37:27
阅读次数:
197
说说:题意大概就是给定一个数n,然后从1遍历到n,原本要输出的状态是no,然后再遍历过程中遇到n的因子就变一次状态。最后将最终的状态输出。解法的话,将这个过程模拟一遍也是可以的。但我们知道若n能被m整出,那么也必定能被n/m整除,所以若n不是平方数的话状态肯定变换偶数次。照这个思路,代码的效率也就提高不少啦~...
分类:
其他好文 时间:
2014-08-14 14:17:58
阅读次数:
233
Problem Description
JGShining's kingdom consists of 2n(n is no more than 500,000) small cities which are located in two parallel lines.
Half of these cities are rich in resource (we call them ri...
分类:
其他好文 时间:
2014-08-14 01:37:07
阅读次数:
237
Problem Description
Continuous Same Game is a simple game played on a grid of colored blocks. Groups of two or more connected (orthogonally, not diagonally) blocks that are the same color may be remo...
分类:
其他好文 时间:
2014-08-13 22:29:17
阅读次数:
288
Validation failedforone ormoreentities.See‘EntityValidationErrors’propertyformoredetails. Unfortunately there is no further information about关于如何查看 En...
分类:
其他好文 时间:
2014-08-13 21:45:57
阅读次数:
223
Problem Description
“Ladies and Gentlemen, It’s show time! ”
“A thief is a creative artist who takes his prey in style... But a detective is nothing more than a critic, who follows our footsteps.....
分类:
其他好文 时间:
2014-08-13 19:01:17
阅读次数:
210
Q: I have one question about how to get the clocking data from COOIS every day , because we need to check and monitor the clocking for more accuracy ....
分类:
其他好文 时间:
2014-08-13 17:41:17
阅读次数:
210
Short answer: no practical danger yet, but read on for a better way...What's this ptrace thing anyway?this is due to a bug in the Ubuntu kernel that p...
分类:
其他好文 时间:
2014-08-13 12:36:16
阅读次数:
697
Problem Description
Mery has a beautiful necklace. The necklace is made up of N magic balls. Each ball has a beautiful value. The balls with the same beautiful value look the same, so if two or more ...
分类:
其他好文 时间:
2014-08-12 17:29:44
阅读次数:
253
Description
Problem E: Perfect Pth Powers
We say that x is a perfect square if, for some integer b,x = b^2. Similarly,
x is a perfect cube if, for some integerb, x = b^3. More generally,
x is a ...
分类:
其他好文 时间:
2014-08-12 13:48:54
阅读次数:
280