码迷,mamicode.com
首页 >  
搜索关键字:using    ( 53562个结果
字符矩阵的旋转 镜面对称 1.2.2
字符矩阵顺时针旋转90度的时候, 行变成列, 列变成行。 镜面对称不是很难直接上测试代码: #include <cstdio> #include <cstring> #include <algorithm> #include <iostream> using namespace std; char
分类:其他好文   时间:2016-02-12 11:41:56    阅读次数:150
【CodeForces 621A】Wet Shark and Odd and Even
题 Today, Wet Shark is given n integers. Using any of these integers no more than once, Wet Shark wants to get maximum possible even (divisible by 2) s
分类:其他好文   时间:2016-02-12 06:04:40    阅读次数:191
CRUD Operations In ASP.NET MVC 5 Using ADO.NET
Background After awesome response of an published by me in the year 2013: Insert, Update, Delete In GridView Using ASP.Net C#. It now has more than 14
分类:Web程序   时间:2016-02-11 23:50:10    阅读次数:678
POJ 1218
题目描述看着就乐了,死板得只按着题意来写了ps: tequi是escape的方言版.. #include <iostream> using namespace std; int main() { int line,i,k; int ln[250]; //This is the number of l
分类:其他好文   时间:2016-02-11 21:32:06    阅读次数:195
UVA 725 Division
#include<iostream> #include<string> #include<string.h> #include<math.h> #include<cstdio> using namespace std; int main(){ int n,ss=0; int hh[10]; bool
分类:其他好文   时间:2016-02-11 21:30:32    阅读次数:152
C#数据库和ZEDGRAPH曲线绘制多线程操作
硬件是STM32: 软件开发环境是VS2012 通讯方式:SERIAL PC界面主要是曲线绘制以及数据库的操作 上传部分多线程代码 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4
分类:数据库   时间:2016-02-11 15:44:41    阅读次数:484
Educational Codeforces Round 7、
A - Infinite Sequence 题意:有一种这样的无限序列数 1,1,2,1,2,3..... (如果最大数n,那么就有从1到n的所有1到n的数); 思路:题意只给了1秒、直接模拟肯定超时,我用的是二分找下界 1 #include<iostream> 2 using namespace
分类:其他好文   时间:2016-02-11 01:39:02    阅读次数:260
文件流的处理 C C++
C: 借鉴C 文件操作库函数总结 eg: #include <fstream> #include <iostream> #include <cstdio> using namespace std; int main(){ freopen("D:\\input.in","r",stdin); freo
分类:编程语言   时间:2016-02-11 00:32:24    阅读次数:209
HDU 4044 GeoDefense
树形DP,和背包差不多。dp[now][x]表示now这个节点的子树上,花费为x的时候,获得的最大防御能力(保证敌方HP<=0) #include<cstdio> #include<cstring> #include<queue> #include<algorithm> using namespac
分类:其他好文   时间:2016-02-10 22:14:20    阅读次数:230
codevs 1090 加分二叉树
一道树型dp,方程在程序里有,注意循环的顺序和初始化。 #include<iostream>#include<cstdio>#include<cstring>using namespace std;long long dp[35][35],n,w[35],c[35][35];void find(lo
分类:其他好文   时间:2016-02-10 22:11:12    阅读次数:221
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!