- 博客(7)
- 资源 (5)
- 收藏
- 关注
转载 <string.h>
转载自:http://blog.csdn.net/yzl_rex/article/details/7839379 通过在网站上的资料搜集,得到了很多关于string类用法的文档,通过对这些资料的整理和加入一些自己的代码,就得出了一份比较完整的关于string类函数有哪些和怎样用的文档了! 下面先罗列出string类的函数有哪一些,然后再罗列出函数的原型,最后到代码的实现 标准
2016-03-30 21:16:56 357
原创 判断三角形与圆是否相交
#include #include #include using namespace std; struct P { double x,y; }; struct circle { P c; double r; }; int cmp(double x) { if(fabs(x)<1e-15) return 0; if(x>0) return
2016-03-28 21:35:47 1564
原创 全排列permutation
dfs版: #include #include #include #include #include #include #define ll long long #define MAX 0x3f3f3f3f const ll MOD=1e+9+7; using namespace std; char c[10]; int s[10]; int book[10]; int len,min
2016-03-24 22:04:37 350
原创 dfs全排列
#include #include #include const int maxn=1000; int a[maxn],book[maxn],n,ans=0; void dfs(int step){ int i; if(step==n+1) { for(i=1;i<=n;i++) printf("%d ",a[i]); print
2016-03-24 15:11:49 487
原创 Dijkstra
51nod第一道基础题:http://www.51nod.com/onlineJudge/questionCode.html#!problemId=1459 最短路径加点权。 #include #include #include #include #define ll long long #define INF 9999 using namespace std; void dijkstra()
2016-03-23 20:36:51 337
原创 VECTOR
详解vector操作#include<iostream> #include<vector> #include<list> using namespace std; int main() { //1 vector<int> a; for(int i=0;i<10;i++){ a.push_back(i); } //2 int arr[6]
2016-03-15 15:15:29 322
转载 大数类
C++大数类模版#include<iostream> #include<string> #include<iomanip> #include<algorithm> using namespace std; #define MAXN 9999 #define MAXSIZE 10 #define DLEN 4class BigNum { private: int a[500];
2016-03-15 09:20:59 333
leetcode题目分类.txt
2021-06-19
IO_stack_of_the_Linux_kernel.svg
2020-02-19
蓝桥杯历届题目和测试数据(oj建设题库)
2020-02-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人