- 博客(6)
- 资源 (4)
- 收藏
- 关注
原创 分治法求点集中的最小距离 version 0.2
//// main.cpp// MinPointDistance//// Created by 孙江涛 on 13-9-29.// Copyright (c) 2013年 bryan. All rights reserved.//#include #include #include #include using std::cin;using std::cout;
2013-09-30 20:19:24 905
原创 分治求点集中的最近距离 version 0.1
//// main.cpp// MinPointDistance//// Created by 孙江涛 on 13-9-29.// Copyright (c) 2013年 bryan. All rights reserved.//#include #include #include using std::cin;using std::cout;using std
2013-09-30 18:04:54 782
原创 C++动态二维数组作为函数参数
int main(int argc, const char * argv[]){ int N; cin>>N; int **c = new int*[N]; for(int i = 0;i { c[i] = new int[N]; } for(int i=0;i for(int
2013-09-29 14:19:09 2950
原创 脑子不好使。。。半天才写出归并。。。唉
//// main.cpp// MergeSort//// Created by on 13-9-28.// Copyright (c) 2013年 . All rights reserved.//#include #define MAX 2147483647void Merge(int a[],int start,int middle,int end){
2013-09-28 15:01:14 636
原创 POJ 1001
//// main.cpp// ACM//// Created by 孙江涛 on 13-9-26.// Copyright (c) 2013年 孙江涛. All rights reserved.//#include #include using std::cin;using std::cout;using std::endl;using std::string;
2013-09-26 23:34:09 636
原创 整数高精度乘法
#include #include using std::cin;using std::cout;using std::endl;#define MAX 100int main(int argc, const char * argv[]){ // insert code here... long long m,n; int a[MAX],b[MA
2013-09-26 23:08:00 620
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人