现在的负载因子是多少
运行下面这段程序(8 格的表装了 4 条):
#include <iostream>
#include <string>
#include <utility>
#include <vector>
using namespace std;
int main() {
cout << 4.0 / 8 << endl;
}
(本题用 g++ -std=c++17 -O0 编译。)
运行下面这段程序(8 格的表装了 4 条):
#include <iostream>
#include <string>
#include <utility>
#include <vector>
using namespace std;
int main() {
cout << 4.0 / 8 << endl;
}
(本题用 g++ -std=c++17 -O0 编译。)
全部评论