码迷,mamicode.com
首页 > 2017年03月19日 > 全部分享
hdu2088
hdu2088 1 #include<stdio.h> 2 #include<algorithm> 3 using namespace std; 4 int h[55]; 5 int main(){ 6 int N,t=0; 7 while(scanf("%d",&N)!=EOF&&N!=0){ 8 ...
分类:其他好文   时间:2017-03-19 11:04:43    阅读次数:187
hdu2066 一个人的旅行 最短路
单源最短路裸题 1 #include<stdio.h> 2 #include<string.h> 3 #define min(a,b) (a)<(b)?a:b 4 #define INF 100001 5 int T,S,D,dist[1050],v[1050][1050],m,l[1050],r[ ...
分类:其他好文   时间:2017-03-19 11:04:16    阅读次数:177
hdu2079 选课时间(题目已修改,注意读题) 母函数
计算数的和的种类,母函数裸题 1 #include<stdio.h> 2 #include<string.h> 3 int c1[1000],c2[1000],a,b; 4 5 int main(){ 6 int T; 7 while(scanf("%d",&T)!=EOF){ 8 int n,k; ...
分类:其他好文   时间:2017-03-19 11:03:17    阅读次数:142
37. Sudoku Solver
Write a program to solve a Sudoku puzzle by filling the empty cells. Empty cells are indicated by the character '.'. You may assume that there will be ...
分类:其他好文   时间:2017-03-19 11:03:00    阅读次数:192
C# SQLite 数据库操作
C# SQLite 数据库操作学习 运行环境:Window7 64bit,.NetFramework4.61,C# 7.0; 编者:乌龙哈里 2017-03-19 参考: SQLite 官网 SQL As Understood By SQLite System.Data.SQLite 菜鸟教程 SQ ...
分类:数据库   时间:2017-03-19 11:02:40    阅读次数:437
[React Router v4] Use the React Router v4 Link Component for Navigation Between Routes
If you’ve created several Routes within your application, you will also want to be able to navigate between them. React Router supplies a Link compone ...
分类:其他好文   时间:2017-03-19 11:02:01    阅读次数:173
hdu2063 过山车 二分图最大匹配
男女进行二分图匹配,裸题 1 #include<stdio.h> 2 #include<string.h> 3 int now,head[1001],next[1001],point[1001],visit[1001],match[1001]; 4 5 void add(int x,int y){ ...
分类:其他好文   时间:2017-03-19 11:01:34    阅读次数:166
[React Router V4] Create Basic Routes with the React Router v4 BrowserRouter
React Router 4 has several routers built in for different purposes. The primary one you will use for building web applications is the BrowserRouter. I ...
分类:其他好文   时间:2017-03-19 11:01:17    阅读次数:205
hdu2099
hdu2099 模拟 1 #include<stdio.h> 2 int m[100]; 3 int main(){ 4 long long a,b,t; 5 while(scanf("%I64d%I64d",&a,&b)!=EOF&&(a!=0&&b!=0)){ 6 t=a*100; 7 long ...
分类:其他好文   时间:2017-03-19 11:00:37    阅读次数:160
hdu1166 敌兵布阵 树状数组/线段树
数列的单点修改、区间求和 树状数组或线段树入门题 1 #include<stdio.h> 2 #include<string.h> 3 4 int c[50005],N; 5 6 void add(int x,int a){ 7 while(x<=N){ 8 c[x]+=a; 9 x+=(x&-x) ...
分类:编程语言   时间:2017-03-19 10:59:59    阅读次数:196
hdu2067 小兔的棋盘 DP/数学/卡特兰数
棋盘的一角走到另一角并且不越过对角线,卡特兰数,数据量小,可以当做dp求路径数 1 #include<stdio.h> 2 long long a[36][36]; 3 int main() 4 { 5 int n,count=0; 6 while (scanf("%d",&n)!=EOF&&n!= ...
分类:其他好文   时间:2017-03-19 10:59:38    阅读次数:136
第五篇、css补充二
一、内容概要 补充知识: line-height是行高,也可以定义行间距 用法: 如果想让一段方案垂直居中,可以这么写 html代码: <p>testtesttesttesttest</p> css代码: p{ font-size:12px; width:100px; height:40px; li ...
分类:Web程序   时间:2017-03-19 10:59:12    阅读次数:261
20145317彭垚《网络对抗》Exp2 后门原理与实践
20145317彭垚《网络对抗》Exp2 后门原理与实践 基础问题回答 在网上下载软件的时候,后门很有可能被捆绑在下载的软件当中; Windows下在控制面板的管理工具中可以设置任务计划启动,或者通过修改注册表来达到自启的目的; 对后门程序进行伪装,例如重命名成某个游戏的开始程序之类的,诱骗用户点击 ...
分类:其他好文   时间:2017-03-19 10:58:25    阅读次数:197
【正常向】CODEVS上分黄金
白银上分黄金失败=。= 在之前有很认真的写了一波排序,所以排序并不是很怂,还是那个理,现阶段学习的都是比较简单的排序,都是所谓的冒泡排序啊,桶排序这类,至于插排和选择排序,再往后又是什么快拍就很尬了。 说一下今天A的题 1075 明明的随机数 1076 排序 1212 最大公约数 1430 素数判定 ...
分类:其他好文   时间:2017-03-19 10:58:11    阅读次数:183
hdu1301 Jungle Roads 最小生成树
The Head Elder of the tropical island of Lagrishan has a problem. A burst of foreign aid money was spent on extra roads between villages some years ag ...
分类:其他好文   时间:2017-03-19 10:57:55    阅读次数:178
HTML-日记3
结构标记: 1.什么是结构标记? 1.在HTML5中,专门提供一组标记来表示网页的结构即制作布局。 目的:提升布局代码的语义性; ex: < div id="header"></div> 2.常用结构标记: 1.header元素 作用:定义网页或者其他部分内容的页眉信息,(靠上部分的内容) 2.na ...
分类:Web程序   时间:2017-03-19 10:57:38    阅读次数:208
DispatchAction和ForwardAction
添加功能的步骤:做页面——编写DAO类中的方法——编写和配置action。 如果多个action 使用一个formbean,这种事儿多发生在统一模块中,就可以用一个Action集中处理多个操作,而不要创建多个Action,是代码结构更加简洁。 可以使用 DispatchAction,需要引入stru ...
分类:其他好文   时间:2017-03-19 10:57:00    阅读次数:167
1002条   上一页 1 ... 49 50 51 52 53 54 55 ... 59 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!