MCPcopy Create free account
hub / github.com/acm-clan/algorithm-stone / get

Method get

templates/rb.cpp:165–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163 }
164
165 int get(int key)
166 {
167 // 普通的搜索
168 auto v = getInternal(root, key);
169 return v ? v->v : -1;
170 }
171
172 void insert(RBTreeNode* n, RBTreeNode* z)
173 {

Callers 6

main2Function · 0.45
get_problem_contentMethod · 0.45
get_update_db_timeMethod · 0.45
get_problem_metaMethod · 0.45
get_db_problemMethod · 0.45
get_update_db_timeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected