摘要:
#include<iostream> #include<chrono> struct Timer { std::chrono::time_point<std::chrono::steady_clock>start, end; std::chrono::duration<float>duration; 阅读全文
摘要:
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( 阅读全文