Concepts3
⚙️AlgorithmIntermediate
Complexity Analysis Quick Reference
Use an operation budget of about 10^8 simple operations per second on typical online judges; always multiply by the time limit and number of test files if known.
#time complexity#competitive programming#big-o+12
⚙️AlgorithmIntermediate
Fast I/O and Optimization Tricks
Fast I/O reduces overhead from C and C++ stream synchronization and avoids unnecessary flushes, which can cut runtime by multiples on large inputs.
#fast io#iostream synchronization#cin.tie+12
⚙️AlgorithmIntermediate
Bitset Optimization
Bitset optimization exploits word-level parallelism so one CPU instruction processes 64 bits at once on typical 64-bit machines.
#bitset#word-level parallelism#bitmask+12