CSES - Generalized VB
  • Time limit: 0.07 s
  • Memory limit: 4 MB
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).