09 2012 档案
摘要:DescriptionOne of the first users of BIT's new supercomputer was Chip Diller. He extended his exploration of powers of 3 to go from 0 to 333 and he explored taking various sums of those numbers.``This supercomputer is great,'' remarked Chip. ``I only wish Timothy were here to see these r
阅读全文
摘要:DescriptionProblems involving the computation of exact values of very large magnitude and precision are common. For example, the computation of the national debt is a taxing experience for many computer systems.This problem requires that you write a program to compute the exact value of Rn where R i
阅读全文
摘要:typedef void* POS; // 定位标志template <class T>class CIIList{protected: struct SNode { SNode *pPrev; SNode *pNext; T data; }; SNode* GetNodeAt(int i_nIndex) const;private: CIIList(const CIIList& i_yList){} CIIList& operator = (const CIIList& i_yList){return *this;}public: CIIList(); ~
阅读全文
摘要:#include <iostream>using namespace std;struct Info{ int nNo; char szNo[20];};struct InfoListNode{ Info info; InfoListNode *next; InfoListNode *prev;};InfoListNode *g_list = NULL;//插入队首void insertBegin(InfoListNode *pList){ g_list->next->prev = pList; pList->next = g_list->next; pLi
阅读全文

浙公网安备 33010602011771号