http://user.qzone.qq.com/810087456/infocenter

ymecho

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

09 2013 档案

摘要:int big(int a ,int b) { int x=1; int min,g ; if(ab)min=b; else return a; while(x<=min) { if(a%x==0 && b%x==0) g=x; x++; } return g; } 阅读全文
posted @ 2013-09-18 10:36 ymecho 阅读(203) 评论(0) 推荐(0)

摘要:#include "stdafx.h"#include "stdlib.h"#includeusing namespace std;typedef struct node{ int value; node * next;}* LNode ;int main(int argc, char* argv[]){ LNode Inputlist(); void OutPutList(const LNode head); LNode Converse(LNode head); LNode head =Inputlist(); OutPutList(head); . 阅读全文
posted @ 2013-09-17 20:49 ymecho 阅读(359) 评论(0) 推荐(0)

摘要:void Permutation(char* pStr, char* pBegin);/////////////////////////////////////////////////////////////////////////// Get the permutation of a string, // for example, input string abc, its permutation is // abc acb bac bca cba cab///////////////////////////////////////////////////////////////////// 阅读全文
posted @ 2013-09-08 09:36 ymecho 阅读(188) 评论(0) 推荐(0)