码迷,mamicode.com
首页 >  
搜索关键字:easyui出现no result fi    ( 13211个结果
[LeetCode] Permutations
1 public class Solution { 2 public List> permute(int[] num) { 3 List> result = new ArrayList>(); 4 permute(result, num, 0); 5 ...
分类:其他好文   时间:2014-09-07 17:17:15    阅读次数:164
BZOJ 2705 SDOI2012 Longge的问题 因数分解+欧拉函数
题目大意:给定n,求Σgcd(i,n) (1 n 记fi为n的因数,则Σgcd(i,n)=Σphi(n/fi)*fi 记住分解因数和分解质数时都要用O(√n)的方法 不然准T 然后2^32-1不是质数 找质数验证的时候试试2147483647吧 #include #include #include #include #define M 10010 using namespace std;...
分类:其他好文   时间:2014-09-07 14:48:55    阅读次数:344
[LeetCode] Unique Paths
public class Solution { public int uniquePaths(int m, int n) { int [][] result = new int[m][n]; for (int i=0; i<m; i++) { ...
分类:其他好文   时间:2014-09-07 14:42:25    阅读次数:181
Leetcode 细节实现
Valid Sudoku  Total Accepted: 13142 Total Submissions: 47070My Submissions Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules. The Sudoku board could be partially fi...
分类:其他好文   时间:2014-09-07 13:33:35    阅读次数:182
UART
一、S3C2410内置的UART控制器S3C2410内部具有3个独立的UART控制器,每一个控制器都能够工作在Interrupt(中断)模式或DMA(直接内存訪问)模式,也就是说UART控制器能够在CPU与UART控制器传送数据的时候产生中断或DMA请求。而且每一个UART控制器均具有16字节的FI...
分类:其他好文   时间:2014-09-07 10:55:54    阅读次数:417
Non-terminating decimal expansion; no exact representable decimal result(转)
Non-terminating decimal expansion; no exact representable decimal result - lopper的专栏 - 博客频道 - CSDN.NET http://blog.csdn.net/lopper/article/details/531...
分类:其他好文   时间:2014-09-06 23:41:44    阅读次数:223
struts2 学习(七) ----- 输入校验
struts2输入校验(服务器端验证) 一、使用validate方法进行输入校验 步骤:1) 重写Action的validate()函数       2) 在struts2.xml中配置Action的别名为”input”的result       3) 在输出页面上显示错误:使用标签 1. 新建LoginAction.java的时候要继承ActionSupport类: ...
分类:其他好文   时间:2014-09-06 12:26:53    阅读次数:180
[LeetCode] Generate Parentheses
public class Solution { public List generateParenthesis(int n) { List result = new ArrayList(); Stack numStack = new Stack(); ...
分类:其他好文   时间:2014-09-06 01:00:42    阅读次数:186
[LeetCode] Binary Tree Preorder Traversal
public class Solution { public List preorderTraversal(TreeNode root) { List result = new ArrayList(); Stack nodeStack = new Stack();...
分类:其他好文   时间:2014-09-05 22:17:42    阅读次数:246
PHP读取csv文件转换成JSON并写入新的文件
没什么好说的,直接上代码。 <?php function csvJSON() { // data.csv 是你的csv文件 $lines = array_map(‘str_getcsv‘, file(‘data.csv‘));; $result = array(); $headers; if (count($lines) > 0) {...
分类:Web程序   时间:2014-09-05 18:34:52    阅读次数:185
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!