Programming for performance
CSES - Generalized VB
Implement generalized VB.
Read binary 64-bit input from standard input.
Output the number of blocks used (as text), followed by the 64-bit integers (as text).
Set 2 (and 3)
Slow random access VB
Sum based random access VB
Location based random access VB