码迷,mamicode.com
首页 >  
搜索关键字:code    ( 108667个结果
CodeIgniter(3.1.4)框架中设置多级目录
修改application/config/route.php文件中的默认控制器。 控制器中的方法: 修复后可以使用默认子目录中的控制器。 ...
分类:其他好文   时间:2017-04-30 01:03:15    阅读次数:309
JS函数
获取年数 输入窗口: ...
分类:Web程序   时间:2017-04-30 01:00:23    阅读次数:144
UVA - 1368 DNA Consensus String
DNA Consensus String Time Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %llu Submit Status Description Figure 1. DNA (Deoxyribonucleic A ...
分类:其他好文   时间:2017-04-29 23:40:52    阅读次数:441
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe0 in position 0
Windows 7/8/10机器上安装Python 2.7后,下载一些Package包进行setup时总是报错UnicodeDecodeError,如下: File "C:/Python27/lib/mimetypes.py", line 250, in enum_types ctype = cty ...
分类:其他好文   时间:2017-04-29 23:40:03    阅读次数:403
[leetcode-476-Number Complement]
Given a positive integer, output its complement number. The complement strategy is to flip the bits of its binary representation.Note:The given intege ...
分类:其他好文   时间:2017-04-29 23:39:06    阅读次数:346
C# 杀掉后台进程
var p = Process.GetProcessesByName("WINWORD"); if (p.Any()) { for (int i = 0; i < p.Length; i++) { p[i].Kill(); } } p = Process.GetProcessesByName("EX ...
分类:Windows程序   时间:2017-04-29 23:39:00    阅读次数:360
【转】unity 移动物体到指定位置的四种方法
http://blog.csdn.net/lcy0221/article/details/44040739 方法1:使用Vector3.MoveTowards [csharp] view plain copy </pre><pre name="code" class="csharp">void Up ...
分类:移动开发   时间:2017-04-29 23:38:35    阅读次数:2092
codeforces 283C
给 n 中 钱币。以及每两种钱币的关系,表示,ai 的 个数 要大于 bi 组合成一个价值val,求方案数,好奇妙的一个处理方式,不得不说又学到了 #include<stdio.h> #include<vector> #include<cstring> #include<iostream> usin ...
分类:其他好文   时间:2017-04-29 23:37:05    阅读次数:253
[刘阳Java]_SpringMVC方法静态资源_第9讲
有些时候我们在使用SpringMVC的时候造成无法访问静态资源文件(如:html,js,css,image等等)。其主要的原因出在web.xml文件我们设置SpringMVC前端控制器的映射路径 上面代码中的<url-pattern>/</url-pattern>相当于拦截项目中所有请求,这样就造成 ...
分类:编程语言   时间:2017-04-29 23:29:57    阅读次数:194
深度优先排序(数字全排列)
输入一个整数n(n<10),输出1-n的全排列 1 import java.util.Scanner; 2 public class One { 3 //数组a(模拟放数字牌的盒子)用于存放排序数字,数组book[i]用于标记牌i是否已经放入数组a 4 public static int a[]=n ...
分类:编程语言   时间:2017-04-29 23:29:40    阅读次数:243
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!