摘要:
折半查找 int arr[] = { 23, 37, 41, 55, 64, 75, 83, 99, 101 }; int t; cin >> t; int low = 0, high = sizeof(arr) / sizeof(arr[0]); int mid = 0; while (low < 阅读全文
2021年10月6日
摘要:
=default&=delete class Foo { public: Foo(int i) :_i(i) { cout << "Foo(int i)\n"; } Foo() = default; //可以跟上一个构造函数并存(构造函数可以多个并存) Foo(const Foo& x) :_i(x 阅读全文