eg:uva136 1 #include<iostream> 2 #include<vector> 3 #include<queue> 4 #include<set> 5 using namespace std; 6 typedef long long LL; 7 const int coeff[3
分类:
其他好文 时间:
2016-02-03 00:20:05
阅读次数:
197
是一个常指针 #include <iostream> #include <stdio.h> using namespace std; struct Teacher { bool sex; int age; }; void printa(Teacher *const p) { printf("prin
分类:
其他好文 时间:
2016-02-02 23:24:49
阅读次数:
159
水题 #include<cstdio> #include<cstring> #include<cmath> #include<ctime> #include<vector> #include<algorithm> using namespace std; int n; long long a[100
分类:
其他好文 时间:
2016-02-02 23:23:04
阅读次数:
473
记录一下每个对角线上有几个,然后就可以算了 #include<cstdio> #include<cstring> #include<cmath> #include<ctime> #include<vector> #include<algorithm> using namespace std; con
分类:
其他好文 时间:
2016-02-02 23:19:56
阅读次数:
231
1 using UnityEngine; 2 using System.Collections; 3 4 public class CharactorCreation : MonoBehaviour { 5 public GameObject[] prefabs; //在Inspector中赋值的数
分类:
其他好文 时间:
2016-02-02 23:19:12
阅读次数:
256
之前写了一题费用流,竟然硬是在写SPFA时为DIS数组赋初始值用了MEMSET数组QAQ 调试了很久也没有弄明白自己是卡在那里了,,,感觉被自己蠢哭了QWQ 错误的姿势!! #include <cstring> #include <iostream> #include <cstdio> using
分类:
编程语言 时间:
2016-02-02 21:36:58
阅读次数:
254
源代码: #include<iostream>#include<cstdio>#include<string>using namespace std;string s1,s2;int m,n,k(0);bool t(0);int main(){ getline(cin,s1); getline(ci
分类:
编程语言 时间:
2016-02-02 21:34:46
阅读次数:
427
程序代码: #include <iostream> using namespace std; class CTime//时间类 { private: unsigned short int hour; //时 unsigned short int minute; //分 unsigned short
分类:
其他好文 时间:
2016-02-02 21:34:42
阅读次数:
300
1 # include<cstdio> 2 # include<iostream> 3 # include<cstring> 4 using namespace std; 5 struct node{ 6 int value; 7 int next; 8 }a[500]; 9 char c[100]
分类:
其他好文 时间:
2016-02-02 21:33:54
阅读次数:
358
Floyd+二叉树 #include<iostream>#include<cstdlib>#include<cstdio>#include<cstring>using namespace std;int a[101];int g[101][101];int main(){ int n,i,j,k,l
分类:
其他好文 时间:
2016-02-02 21:32:12
阅读次数:
161