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 15, 2026 21:14Victor MerckléVictor MerckléScore: 5,046Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 15, 2026 21:154,945148,362,813410,307,0005,521,0002,650,112stderr
2Aug 15, 2026 21:154,949148,496,265409,701,0005,219,0002,654,208stderr
3Aug 15, 2026 21:155,019150,581,905416,175,0004,439,0002,654,208stderr
4Aug 15, 2026 21:155,046151,395,408418,498,0005,580,0002,650,112stderr
5Aug 15, 2026 21:155,046151,404,701419,357,0004,317,0002,650,112stderr
6Aug 15, 2026 21:155,054151,634,344417,266,0004,686,0002,654,208stderr
7Aug 15, 2026 21:155,065151,960,837418,262,0005,577,0002,650,112stderr
8Aug 15, 2026 21:155,068152,058,977418,857,0004,211,0002,654,208stderr
9Aug 15, 2026 21:155,155154,676,918416,731,0005,574,0002,416,640stderr