遇到的问题:
1.22/24 分治
2.c++:unordered_map 不会对map进行排序(参考链接https://blog.csdn.net/Blues1021/article/details/45054159?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-3.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-3.control)
3.python:enumerate用于转化为序列
4.python:if可判断key是否存在于dict中
5.c++:std::ios::sync_with_stdio(false);/std::cin.tie(NULL);/std::cout.tie(NULL);用于解绑cin、cout(https://en.cppreference.com/w/cpp/io/cin)
6.c++:lower_bound、upper_bound。有限状态自动机
7.python:iter()
8.python:zip()元组匹配器
9.c++:std::transform()两种重载
10.python:itertools类
11.python:zip_longest()配对
12.cpp:emplace_back()末尾填充
13.cpp:有值引用
14.cpp:binary_search()二分查找
15.python:bisect.bisect_left()
16.c++:next_permutation()求全排列
17.python:collections.Counter计数器
20.c++:size_t
-
Notifications
You must be signed in to change notification settings - Fork 0
scabbycoral/leetanswer
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published