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 13:10Victor MerckléVictor MerckléScore: 5,211Success
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 13:115,153154,616,402423,987,0009,488,0002,605,056stderr
2Aug 2, 2026 13:115,154154,636,205424,357,0009,453,0002,605,056stderr
3Aug 2, 2026 13:115,169155,091,208424,195,0008,343,0002,609,152stderr
4Aug 2, 2026 13:115,174155,241,083427,028,0007,889,0002,605,056stderr
5Aug 2, 2026 13:115,211156,359,464428,396,0008,979,0002,605,056stderr
6Aug 2, 2026 13:115,212156,363,649429,523,0009,292,0002,605,056stderr
7Aug 2, 2026 13:115,220156,608,884427,655,0008,983,0002,609,152stderr
8Aug 2, 2026 13:115,254157,628,106433,274,0009,090,0002,605,056stderr
9Aug 2, 2026 13:115,299158,994,110431,078,0008,940,0002,609,152stderr