CSES - Slow random access VB
  • Time limit: 2.00 s
  • Memory limit: 4 MB

Implement the slow linear scan operation for random access.

Read binary 64-bit input from standard input.

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