Unique strings v2 Sergey Svistunov

Same problem as Unique strings, but with 3 CPUs available and scoring based on wall time instead of CPU time.

Count the exact number of unique tokens as fast as possible.

Input

One token per line on STDIN:

JWXcKKaWzvFL5
Rof
3ztCpA
5wHcGN
*UiEMthaTS*g

Output

Print the exact count of unique tokens to STDOUT.

Constraints

  • Character set: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@#%*
  • Maximum token length: 16
  • Approximately 1,000,000 unique tokens
Back to listAug 2, 2026 12:43Victor MerckléVictor MerckléScore: 5,260Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 2, 2026 12:445,249157,473,182428,226,0009,789,0002,600,960stderr
2Aug 2, 2026 12:445,255157,678,332430,592,0009,366,0002,600,960stderr
3Aug 2, 2026 12:445,257157,712,405429,928,0009,276,0002,600,960stderr
4Aug 2, 2026 12:445,257157,735,993430,136,0009,022,0002,600,960stderr
5Aug 2, 2026 12:445,260157,808,382429,026,0008,739,0002,600,960stderr
6Aug 2, 2026 12:445,263157,903,902430,132,0009,319,0002,605,056stderr
7Aug 2, 2026 12:445,263157,898,657427,704,0009,384,0002,600,960stderr
8Aug 2, 2026 12:445,281158,440,409431,713,0009,236,0002,600,960stderr
9Aug 2, 2026 12:445,301159,051,900428,403,00010,213,0002,600,960stderr