会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
xcsllll
博客园
首页
新随笔
联系
管理
订阅
2017年8月2日
ad/vv
该文被密码保护。
阅读全文
posted @ 2017-08-02 08:25 xcsllll
阅读(23)
评论(0)
推荐(0)
2017年7月26日
ad/v 赛
该文被密码保护。
阅读全文
posted @ 2017-07-26 12:12 xcsllll
阅读(40)
评论(0)
推荐(0)
2017年4月1日
iteration
摘要: //前序遍历 #include #define SIZE 8 char Tree[SIZE] = {0, 'A' ,'B','C','D','E','F','G'}; void preOrder(int root) { if(root * 2 >= SIZE) { printf("%c",Tree[root]); return; } ...
阅读全文
posted @ 2017-04-01 15:34 xcsllll
阅读(120)
评论(0)
推荐(0)
AToI&IToA
摘要: //AToI #include #define SIZE 200 int data[SIZE] = {4,5,6,7}; int AToI(int N,int Base) { int ret = 0; for(int i=0;i #define SIZE 20 int data[SIZE]; int IToA(int num,int Base,int Len) { ...
阅读全文
posted @ 2017-04-01 14:11 xcsllll
阅读(98)
评论(0)
推荐(0)
选择排序&快速排序
摘要: /////////selectSort //cases: //5 //20 //1 45 14 23 45 15 15 13 456 1 4165 456 123 436 13 6 456 651 65 6 //10 //1 5 8 9 6 4 5 3 8 6 //30 //1 4 2 7 1 7 8 9 2 4 1 4 2 7 1 7 8 9 2 4 1 2 3 7 4 8 5 9 4 2 ...
阅读全文
posted @ 2017-04-01 11:16 xcsllll
阅读(147)
评论(0)
推荐(0)
2017年3月30日
toj 部分题
摘要: //////2010 #include #include #include using namespace std; mapm; bool Prime[10007]; int P[10005],n; const int maxn=10000; int main() { n=0; memset(Prime,1,sizeof(Prime)); Prime[0]=Pr...
阅读全文
posted @ 2017-03-30 15:39 xcsllll
阅读(404)
评论(0)
推荐(0)
2017年3月28日
flattern
摘要: #include #include int test_main(int data[100],int dumpCount); void build_data(int data[100],int*dumpCount) { for(int i=0;idata[n+1]) // { // t=d...
阅读全文
posted @ 2017-03-28 06:59 xcsllll
阅读(335)
评论(0)
推荐(0)
gravity
摘要: //#include // //#include // // //#include //int test_main(int data[9]); // //void build_data(int data[100]) // //{ // // for(int i=0;idata[n]) { // // n++; // // num[m]++; }*/ ...
阅读全文
posted @ 2017-03-28 06:59 xcsllll
阅读(141)
评论(0)
推荐(0)
Card2
摘要: #include #include //int test(int data[999]) //{ // // for(int i=0;i=1;i--) // { // while(book[i]>=2&&book[2*i]>=1) // { // book[i]=book[i]-2; // ...
阅读全文
posted @ 2017-03-28 06:58 xcsllll
阅读(182)
评论(0)
推荐(0)
OX_pattern
摘要: #include #include #define SIZE 10000 static int data[SIZE]; int test_main(int data[SIZE]); static void build(){ for(int i=0;i<SIZE;i++) data[i]=(rand()%2)? 'o':'x'; } int main(){ fo...
阅读全文
posted @ 2017-03-28 06:57 xcsllll
阅读(113)
评论(0)
推荐(0)
下一页
公告