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 18, 2026 01:27Victor MerckléVictor MerckléScore: 1,953Success
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 5, 2026 01:34Tomislav Tunkovic10.00CustomSolution Held
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 18, 2026 01:361,92157,644,051140,205,0001,003,0002,170,880stderr
2Aug 18, 2026 01:361,92257,662,626139,612,0001,024,0002,170,880stderr
3Aug 18, 2026 01:361,92757,824,232142,994,0001,201,0002,170,880stderr
4Aug 18, 2026 01:361,94658,390,194144,939,0001,186,0002,170,880stderr
5Aug 18, 2026 01:361,95358,605,228144,553,0001,216,0002,170,880stderr
6Aug 18, 2026 01:361,95958,779,291144,373,0001,011,0002,170,880stderr
7Aug 18, 2026 01:361,96058,803,436144,494,0001,005,0002,170,880stderr
8Aug 18, 2026 01:361,99259,775,535146,748,0001,006,0002,170,880stderr
9Aug 18, 2026 01:362,05761,727,487153,146,0002,264,0002,170,880stderr