摘要:
Python closures and late binding A closure occurs when a function has access to a local variable from an enclosing scope that has finished its executi 阅读全文
摘要:
Legendary Items 答案是每一件物品需要的期望步数和 1 #include <bits/stdc++.h> 2 #define ll long long 3 #define ull unsigned long long 4 #define st first 5 #define nd se 阅读全文
摘要:
摘自Codeforces博客 With dsu on tree we can answer queries of this type: How many vertices in subtree of vertex v has some property in O(n lg n) time (for 阅读全文