hashtable.cpp
来自「编译原理的作业 编译器」· C++ 代码 · 共 8 行
CPP
8 行
#include "hashtable.h"
int Key(const std::string& str)
{
return (int)str[0] % PRIME;
}