码迷,mamicode.com
首页 >  
搜索关键字:code    ( 108667个结果
Gym 100090D Insomnia
从 n 变到 1,有多少种方案? 打表记忆化。 1 #include <bits/stdc++.h> 2 3 using namespace std; 4 5 int n; 6 int dp[1000005]; 7 int dfs(int n) { 8 if(n==1) 9 return 1; 10 ...
分类:其他好文   时间:2017-04-09 23:36:07    阅读次数:235
将金额转换成大写表示
$num = 214562541205.49;dump(cny($num)); //dump string(81) "贰仟壹佰肆拾伍亿陆仟贰佰伍拾肆万壹仟贰佰零伍圆肆角玖分" ...
分类:其他好文   时间:2017-04-09 23:35:31    阅读次数:209
P - How many
Give you n ( n < 10000) necklaces ,the length of necklace will not large than 100,tell me How many kinds of necklaces total have.(if two necklaces can ...
分类:其他好文   时间:2017-04-09 23:29:36    阅读次数:211
正则-简单的模式
我们将从最简单的正则表达式开始,由于正则表达式常用于操作字符串的,因此我们从最常见的任务下手:字符匹配 字符匹配 大多数字母和字符会匹配它们自身。 举个例子:正则表达式FishC将完全匹配字符串‘FishC’。 (你可以启用不区分大小写模式,则正则表达式FishC可以匹配‘FISHC’,或‘fish ...
分类:其他好文   时间:2017-04-09 22:35:36    阅读次数:166
38. leetcode 405. Convert a Number to Hexadecimal
405. Convert a Number to Hexadecimal Given an integer, write an algorithm to convert it to hexadecimal. For negative integer, two’s complement method ...
分类:其他好文   时间:2017-04-09 22:08:01    阅读次数:269
抄写作业
9.#include struct student { int num; char name[20]; char sex; int age; }; struct student stu[3]={{10101,"Li Lin",'M',18},{10102,"Zhang Fang",'M',19},{... ...
分类:其他好文   时间:2017-04-09 22:04:11    阅读次数:313
vue 实现文本域还剩多少字符
Document 还可以输入{{10- result[index]}}字符 ...
分类:其他好文   时间:2017-04-09 20:59:23    阅读次数:234
Sqlite 的简单应用
初始化一个连接: 将查询到的sql语句返回到DataTable ...
分类:数据库   时间:2017-04-09 20:28:53    阅读次数:173
springboot-16-springboot中引入xml文件
参考原文: http://412887952-qq-com.iteye.com/blog/2293846 使用的是在spring中注入一个bean的方式来测试是否成功, 感觉略不实用, 只碰到过一次dubbo中需要配置文件注入, 其他都可以通过注解注入的方式实现 1, mongdb的配置文件: 资源 ...
分类:编程语言   时间:2017-04-09 20:27:04    阅读次数:667
【selemiun——打印信息:来证明脚本运行是否正确】
a.打印title b.打印URL 结果: ...
分类:其他好文   时间:2017-04-09 20:14:24    阅读次数:120
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!