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
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
#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
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
#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
#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
#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
#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