摘要: #include<iostream> #include<chrono> struct Timer { std::chrono::time_point<std::chrono::steady_clock>start, end; std::chrono::duration<float>duration; 阅读全文
posted @ 2021-06-16 20:26 放飞梦想C 阅读(76) 评论(0) 推荐(0) 编辑
摘要: C++的stdvector使用优化 #include<iostream> #include<vector> using namespace std; class Vectex { private: int x, y, z; public: Vectex(int x,int y,int z) : x( 阅读全文
posted @ 2021-06-16 18:04 放飞梦想C 阅读(58) 评论(0) 推荐(0) 编辑