2014年6月20日

摘要: #include #include #include using namespace std;struct ListNode{ int m_value; ListNode *m_pNext;};void PrintList(ListNode *pHead);int main(){ ... 阅读全文
posted @ 2014-06-20 21:53 XiaoFei Wang 阅读(127) 评论(0) 推荐(0) 编辑
摘要: #include #include #include using namespace std;void replaceBlank(char str[],int length);int main(){ char ch[20]; gets(ch); int len=strlen(ch)... 阅读全文
posted @ 2014-06-20 20:49 XiaoFei Wang 阅读(139) 评论(0) 推荐(0) 编辑
摘要: #include #include using namespace std;bool findnum(int *numbers,int cols,int rows,int number);int main(){ int n=5; int a[5][5]; for(int i=0;i... 阅读全文
posted @ 2014-06-20 19:39 XiaoFei Wang 阅读(98) 评论(0) 推荐(0) 编辑
摘要: #include #include using namespace std;int IsPairFive(int *number,int length){ if(number==NULL||length1&&number[i]>0)return 0; } int k=1; w... 阅读全文
posted @ 2014-06-20 19:02 XiaoFei Wang 阅读(182) 评论(0) 推荐(0) 编辑

导航