CSES - Location based random access VB
  • Time limit: 2.00 s
  • Memory limit: 20 MB
Implement location based random access.

Read binary 64-bit input from standard input.

Output the number of blocks used (as text) and the results of n index queries (as text).