码迷,mamicode.com
首页 >  
搜索关键字:using    ( 53562个结果
C# Ajax 手机发送短信验证码 校验验证码 菜鸟级别实现方法
1.Ajax请求处理页面: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.SessionState; using System.Web.Ser
分类:移动开发   时间:2016-01-28 13:54:31    阅读次数:330
Jan 27 - Valid Binary Search Tree; DFS;
Using DFS to traverse the BST, when we look through the BST to a certain node, this node must have the following property to make sure the tree is a v
分类:其他好文   时间:2016-01-28 13:45:06    阅读次数:152
14:Flip Game
#include<iostream> #include<string> using namespace std; int a[5][5];int b[5][5]; #define rep(i,j,k) for(int i=j;i<=k;i++) int n=4; string s[20]; void
分类:其他好文   时间:2016-01-28 13:44:45    阅读次数:116
Codeforces #340 div2
A: #include<iostream> using namespace std; int main() { int n; cin>>n; cout<<(n-1)/5+1; } B: #include<iostream> using namespace std; int n; int pos[11
分类:其他好文   时间:2016-01-28 13:43:48    阅读次数:166
辗转相除法
求最大公约数,我们想想有什么方法可以求呢? 首先我先来说一下最弱智的算法: 就是从1开始试,试来试去的就搞出来了…… 代码如下: 1 #include<iostream> 2 using namespace std; 3 int main() 4 { 5 int m,n,j; 6 cin>>m>>n
分类:其他好文   时间:2016-01-28 13:41:46    阅读次数:146
02:Integer Inquiry
#include<iostream> #include<string> using namespace std; int sum[201]; string s; int main() { while(cin>>s&&!(s.length()==1&&s[0]=='0')) { int x=s.len
分类:其他好文   时间:2016-01-28 12:34:45    阅读次数:131
04:判断闰年
#include<iostream> using namespace std; int a; int main() { cin>>a; if((a%100!=0&&a%4==0)||(a%400==0)) cout<<"Y"; else cout<<"N"; }
分类:其他好文   时间:2016-01-28 12:33:09    阅读次数:146
10:古代密码
#include<iostream> #include<string> #include<algorithm> using namespace std; int a[30],b[30]; string sa,sb; #define rep(i,j,k) for(int i=j;i<=k;i++) b
分类:其他好文   时间:2016-01-28 12:30:55    阅读次数:111
07:画家问题
#include<iostream> #include<string> using namespace std; int a[20][20];int b[20][20]; #define rep(i,j,k) for(int i=j;i<=k;i++) int n; string s[20]; vo
分类:其他好文   时间:2016-01-28 12:21:35    阅读次数:106
引入头文件_两种形式的区别??
1、 #include <windows.h> 2、 #include <vector> using namespace std; 问题: 一种是 带".h"的,一种是 不带".h"但是有命名空间的,区别何在?? C
分类:其他好文   时间:2016-01-28 10:55:01    阅读次数:135
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!