03 2019 档案
摘要:LeetCode中的一题,虽然结果没问题,但是超时了,下面的操作真的辣眼睛,记录一下犯蠢。
阅读全文
摘要:13-1 13-2 13-3 13-4
阅读全文
摘要:冒泡排序的数组和向量实现 向量唯一化实现 向量-归并排序
阅读全文
摘要:#include "pch.h" #include #include #include #include #include #include #include using namespace std; inline void eatline() { while (cin.get() != '\n') continue; } struct planet { char name...
阅读全文
摘要:#include "pch.h" #include #include #include #include using namespace std; const int NUM = 26; const string wordlist[NUM] = { "apiary","beetle","cereal", "danger","ensign","florid","garage","heal...
阅读全文
摘要://头文件 #pragma once #ifndef SALES_H_ #define SALES_H_ #include <stdexcept> #include <string> class Sales { public: enum { MONTHS = 12 }; class bad_inde
阅读全文
摘要:12-1 12-2 12-3 #pragma once #ifndef STOCK_H_ #define STOCK_H_ #include <string> using namespace std; class Stock { private: char* company; int shares;
阅读全文

浙公网安备 33010602011771号