2014年6月29日
摘要: #include #include #include #include using namespace std;const char *rev = "A 3 HIL JM O 2TUVWXY51SE Z 8 ";//字符A-9的镜像字符,没有镜像则为空格const char * msg[... 阅读全文
posted @ 2014-06-29 18:16 Clivia_zhou 阅读(322) 评论(0) 推荐(0) 编辑
摘要: nnul 阅读全文
posted @ 2014-06-29 13:30 Clivia_zhou 阅读(3626) 评论(0) 推荐(0) 编辑
2014年6月22日
摘要: #include #include using namespace std;int priority(char signal) //优先级{ int prior = 0; switch(signal) { case '+': { ... 阅读全文
posted @ 2014-06-22 21:37 Clivia_zhou 阅读(1582) 评论(0) 推荐(0) 编辑
2014年6月20日
摘要: m没有朋友 没有倾述对象 不懂人际交往 不懂如何深交 事事挫败 哎 失败的人哪会有人关心你的死活 阅读全文
posted @ 2014-06-20 20:32 Clivia_zhou 阅读(80) 评论(0) 推荐(0) 编辑
2014年6月19日
摘要: //// main.cpp// circleQueue//// Created by zhou on 14-6-19.// Copyright (c) 2014年 zhou. All rights reserved.//#define Max 50typedef struct ... 阅读全文
posted @ 2014-06-19 17:57 Clivia_zhou 阅读(146) 评论(0) 推荐(0) 编辑
2014年6月9日
摘要: 1 #include 2 #include 3 using namespace std; 4 5 class QueuebyStack 6 { 7 public: 8 void enqueue(char ch) 9 {10 s1.push(ch);11 ... 阅读全文
posted @ 2014-06-09 15:55 Clivia_zhou 阅读(173) 评论(0) 推荐(0) 编辑
摘要: Node* findMid(Node* &head){ if(head == NULL||head->next == NULL) return head; Node* p = head; Node* q = head; while(q->next->ne... 阅读全文
posted @ 2014-06-09 11:57 Clivia_zhou 阅读(228) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;struct Node{ Node *next; int elem;};void creatList(Node* &head){ head = new Node; int elem; cin>>elem; ... 阅读全文
posted @ 2014-06-09 11:24 Clivia_zhou 阅读(152) 评论(0) 推荐(0) 编辑
2014年6月8日
摘要: #include using namespace std;struct Node{ Node *next; int elem;};void creatList(Node* &head){ head = new Node; int elem; cin>>elem; ... 阅读全文
posted @ 2014-06-08 16:51 Clivia_zhou 阅读(381) 评论(0) 推荐(0) 编辑
2014年6月4日
摘要: 题目分析: 一个数可以表示成四种状态,所以可以用一个状态数组来存放该数由几个数的平方和表示。1.表示该数本身是完全平方。2.表示该数是由两个平方和3.表示三个。4.表示4个。一次遍历找出本身是完全平方的数,二次遍历找出后两种情况。#include #include using namespace ... 阅读全文
posted @ 2014-06-04 21:50 Clivia_zhou 阅读(204) 评论(0) 推荐(0) 编辑