ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
http://usaco.org/index.php?page=viewproblem2&cpid=1113Sum of a/i for all i < a is a * log a
2
https://codeforces.com/problemset/problem/1615/Dxoring in a tree cancels out the path
3
https://codeforces.com/problemset/problem/600/ESmall to Large Merging
4
http://www.usaco.org/index.php?page=viewproblem2&cpid=1235#Bound!
5
https://cses.fi/problemset/task/1734Offline Queries and such
6
https://cses.fi/problemset/task/2101/The MST = MBST (MST minimizes maximum edge weight)
7
https://codeforces.com/problemset/problem/1528/ATry to prove something to make the problem easier
8
9
10
11
LinkTimeCoding TimeSolution?Concept
12
http://usaco.org/index.php?page=viewproblem2&cpid=227545YesImplement Correctly the First Time
13
http://usaco.org/index.php?page=viewproblem2&cpid=621??YesMake sure your code does what you think it does; plan better; think about arguments that simplify the problem
14
http://usaco.org/index.php?page=viewproblem2&cpid=28318-----------Yes
15
http://usaco.org/index.php?page=viewproblem2&cpid=363520YesPlan More
16
http://usaco.org/index.php?page=viewproblem2&cpid=22855Yes
17
http://www.usaco.org/index.php?page=viewproblem2&cpid=1233Try working out the sample input and then checkpoints when running
18
http://www.usaco.org/index.php?page=viewproblem2&cpid=1210Think about how doubles work and that chooses are large
19
Problem 1. Paired UpKeep track of all cases; make sure that everything is calculated correctely
20
Problem 3. Bracelet CrossingsThink through ALL cases
21
https://codeforces.com/contest/1789/problem/Einitializing vectors is O(n)!
22
https://codeforces.com/problemset/problem/1658/EYou can turn manhattan distance into cheybvev distance or something (i.e. x-y, x+y); the manhattan distance becomes max(|x1-x2|, |y1-y2|)
23
http://www.usaco.org/index.php?page=viewproblem2&cpid=1065remember that bfs only works if edges are 1 and at any point, queue has only 2 different distances
24
https://codeforces.com/problemset/problem/1778/DALGEBRA
25
https://codeforces.com/problemset/problem/1761/Dthink about restrictions and how they work
26
http://usaco.org/index.php?page=viewproblem2&cpid=1090Read code line by line; if using bfs, check if all edges are weight 1
27
http://usaco.org/index.php?page=viewproblem2&cpid=1091initializing vectors is O(n)!
28
https://codeforces.com/problemset/problem/1780/F# of prime divisors of N < 1e5 is only 10
29
https://codeforces.com/problemset/problem/1730/DSimplify concretely
30
https://codeforces.com/problemset/problem/1657/Eundefinted behaviour is undefined! and planning out how code will work on sample is always a good thing
31
https://codeforces.com/contest/1710/problem/BPlan + Speed
32
https://codeforces.com/problemset/problem/1693/CMake arguments to simplify problem
33
http://www.usaco.org/index.php?page=viewproblem2&cpid=947look for integer overflow!
34
http://usaco.org/index.php?page=viewproblem2&cpid=1210cout << setprecision(12); arrays global
35
https://codeforces.com/problemset/problem/1637/Emaps have bad constant and look for simplifying assumptions
36
https://cses.fi/problemset/task/1147monotonic stack
37
https://codeforces.com/problemset/problem/1790/Fmemoize!
38
https://codeforces.com/problemset/problem/1810/ESmall constant factors add up a lot
39
https://codeforces.com/problemset/problem/1811/G1Calculate inverse factorials correctly
40
https://codeforces.com/problemset/problem/1815/CIgnoring back edges is powerful (cycle preventing edges)
41
https://codeforces.com/problemset/problem/1795/EPlan!
42
https://codeforces.com/problemset/problem/1736/Dlook for an obvious solution
43
https://codeforces.com/problemset/problem/1056/EYou can hash suffixes and then finding hashes of substrings is trivial
44
Problem 1. Bovine GenomicsBinary Searching on ranges is powerful
45
https://dmoj.ca/user/beaboss/solvedWhen working with modulos, usually M^2 must fit in the integer you are using
46
Problem - 1773B - CodeforcesThere are 2 types of hashes, polynomial and "associative" (order does not matter)
47
https://cses.fi/problemset/result/5875659/Just practice
48
Problem - 1725F - CodeforcesWorking with Ints is 2x as working with long longs
49
https://szkopul.edu.pl/problemset/problem/lGqKS9urITMjTXhpdaHqyoEL/site/?key=submissions
You can take logarithms if values don't fit into long longs and you are working with products; For backtracking with knapsack, think about when it is not completely full
50
https://usaco.guide/problems/coci-2016burza/solutionIf bitmasking is not possible, try to see if you can find some constraint where the answer is non-bitmaskable and another where it is bitmaskable
51
https://usaco.guide/problems/cf-make-it-one/solutionSometimes finding whether something is possible is just thinking if the # of ways to do that is > 0
52
pow function is hella slow and subtracting with modulos, make sure to add the MOD back
53
https://cses.fi/107/result/5927893/Rotate graphs
54
https://usaco.guide/problems/joi-2018commuter-pass/solution
55
https://oj.uz/problem/view/IOI11_crocodileNot too bad
56
https://codeforces.com/contest/1394/problem/DThink about directing edges rather than thinking of a whole DP from scratch
57
https://dmoj.ca/problem/apio11p2/submityc.erase(unique(yc.begin(), yc.end()), yc.end());
58
https://codeforces.com/contest/912/problem/EThere are workarounds to integer overflow; i.e. setting a bound and dividing it rather than multiplying to the limit
59
Birthday ParadoxTo get all values from 0 => MOD, you only need to try around root(MOD) #s and then pairwise sums
60
https://dmoj.ca/problem/coci16c6p5/editorialCounting Sort to speed up sorting and DSU is O(1)
61
https://szkopul.edu.pl/problemset/problem/w3YAoAT3ej27YeiaNWjK57_G/site/?key=statement
If you think of an edge case, check if you satisfy it!
62
https://codeforces.com/problemset/problem/1472/GNot too bad, implementation practice and remember to plan
63
http://www.usaco.org/index.php?page=viewproblem2&cpid=435Run DP iteratively if it is hard to do any other way
64
https://codeforces.com/problemset/problem/1822/G2If you access an element of a map that doesn't exist, it is created! This can blow up your maps
65
https://codeforces.com/problemset/problem/1798/EIf you are working with a range, see if you the max/min is good enough as a query
66
https://codeforces.com/problemset/problem/1797/EReally just a complex segtree + binary lifting + sieve practice impelmentation; You can also sometimes skip nodes in a segtree if they are all pointless! rather than skipping updates
67
http://www.usaco.org/index.php?page=viewproblem2&cpid=576You can DP upwards on trees!
68
https://codeforces.com/problemset/problem/342/ETwo ancestor-descendant pairs in centroid decomposoition are not necessarily the same in the normal tree.
69
When working with two trees, make sure you know which one's which!
70
https://cses.fi/problemset/result/6056882/Only do what you have to do; constant speed ups are really valuable
71
https://codeforces.com/problemset/problem/1748/ESparse Table Implementation Practice + General Solving Practice
72
https://codeforces.com/problemset/problem/1766/E
Recursive DP is only implementable in certain circumstances; you have to think twice for these
73
https://usaco.guide/problems/ioi-2011race/solutionCentroid decomposition can be helpful when thinking of paths (either it goes through this node, or it does not.
74
https://codeforces.com/contest/1387/problem/B2Assigning values between centroid groups. Centroid 'edge' does not necessarily exsit, but centroid does.
75
https://cses.fi/problemset/task/2134During HLD, go to heavy edge first
76
https://codeforces.com/problemset/problem/1794/EKnow how many hashes before implementing! Also know collision probability
77
https://codeforces.com/problemset/problem/1792/ESometimes a sketchy solution can work. And read problem VERY carefully before going further
78
https://codeforces.com/problemset/problem/1598/EImpl. Practice
79
https://codeforces.com/problemset/problem/1593/FPractice
80
https://codeforces.com/problemset/problem/1538/Esize_t's cannot be negative. substr function takes start point and length
81
https://codeforces.com/problemset/problem/1493/DToo many sketchy runtimes is bad; ALWAYS use sieve instead of repeatedly factorizing
82
https://codeforces.com/problemset/problem/1628/CSolution may be complex, but generalize it to easy impl.
83
https://codeforces.com/problemset/problem/1763/DPractice
84
https://codeforces.com/problemset/problem/1625/DLowest Pairwise xor in a set of numbers is lowest xor between adj elements when sorted
85
https://codeforces.com/problemset/problem/1781/EPlan your implementation, it is really really helpful
86
https://codeforces.com/problemset/problem/1832/ERead the problem really closely, often there is something small that makes your solution fail
87
https://codeforces.com/problemset/problem/1824/B2Implementation Practice, mainly just quick problem-solving
88
https://codeforces.com/contest/1806/problem/ESometimes we can sacrifice run time for memory
89
https://codeforces.com/problemset/problem/1821/EImpl/Formalization Pratice
90
https://codeforces.com/contest/1839/problem/DFormalize Much Better
91
https://codeforces.com/contest/1805/problem/EIf the implementation has multiple parts, test them individually. Implementing is an art, keep it that way!
92
https://codeforces.com/problemset/problem/1768/EFormalize Better
93
https://codeforces.com/contest/1142/problem/BBinary Lifting is Very Powerful
94
https://oj.uz/problem/view/BOI19_valleyWith binary lifting, lift[i][0] is the parent, not the node itself. Do not mix it up
95
http://www.usaco.org/index.php?page=viewproblem2&cpid=696a.swap(b) for ordered set
96
http://www.usaco.org/index.php?page=viewproblem2&cpid=921fixing template
97
https://codeforces.com/contest/1826/problem/EBitsets are cool!
98
99
100