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 14, 2026 21:12Tomislav TunkovicTomislav TunkovicScore: 41,186Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 14, 2026 21:1639,7941,193,825,8153,515,339,00014,353,0002,179,072stderr
2Aug 14, 2026 21:1640,3921,211,777,3403,569,005,00014,241,0002,174,976stderr
3Aug 14, 2026 21:1640,6291,218,880,9333,553,916,00013,861,0002,166,784stderr
4Aug 14, 2026 21:1641,1161,233,496,6703,542,701,00014,207,0002,166,784stderr
5Aug 14, 2026 21:1641,1861,235,601,4563,582,692,00014,063,0002,166,784stderr
6Aug 14, 2026 21:1641,2821,238,469,9953,554,444,00013,664,0002,166,784stderr
7Aug 14, 2026 21:1641,3581,240,746,3383,582,665,00014,934,0002,166,784stderr
8Aug 14, 2026 21:1641,4991,244,987,9803,623,926,00014,276,0002,166,784stderr
9Aug 14, 2026 21:1642,2351,267,056,4853,705,479,00014,079,0002,174,976stderr