摘要: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; }
阅读全文
09 2013 档案
摘要:#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); .
阅读全文
摘要: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/////////////////////////////////////////////////////////////////////
阅读全文

浙公网安备 33010602011771号