随笔分类 - language:C/C++
摘要:1 /* 2 8 6 3 1 1 1 1 1 1 1 1 4 1 0 0 1 0 0 1 1 5 1 1 0 0 0 0 0 1 6 1 0 0 1 0 1 0 1 7 1 0 0 0 0 0 0 1 8 1 1 1 1 1 1 1 1 9 */ 10 #include <iostream> ///
阅读全文
摘要:1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 int main() 8 { 9 int n; 10 string ch; 11 cout > n; 13 while (n--) { 14 stack check; 15 ...
阅读全文
摘要:1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 using namespace std; 10 11 void welcome(); //欢迎模块 12 void play_mp3...
阅读全文
摘要:1 #include 2 using namespace std; 3 4 template 5 class Vector 6 { 7 private: 8 int theSize; //实际数据大小 9 int theCapacity; //实际容器...
阅读全文
摘要:1 /* 2 输入文件见337.in.txt 3 输出文件见338.out.txt 4 */ 5 #include 6 #include 7 #include 8 #include 9 using namespace std; 10 11 const int maxList = 2048 * 10 + 10; //单词表的最大值 12 c...
阅读全文
摘要:1 #include 2 using namespace std; 3 4 //打印一种划分 5 void display(int *result, int length) 6 { 7 cout = 0 && m == 1时,有n中{1,1,....1}.即划分为f(n-1,m); 如:6 = 1+1+1+1+1+1时 21 if (n >= 0 && m == ...
阅读全文
摘要:1 #include 2 #include 3 #include 4 using namespace std; 5 6 class Object { //抽象结点数据类,用于派生实际结点数据类 7 public : 8 Object() { //可省略---因为有默认构造函数,且正好它什么都...
阅读全文

浙公网安备 33010602011771号