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:56Victor MerckléVictor MerckléScore: 5,212Success
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:575,168155,044,717424,321,0009,317,0002,605,056stderr
2Aug 2, 2026 12:575,180155,414,127425,667,0009,189,0002,605,056stderr
3Aug 2, 2026 12:575,200156,017,755425,970,0009,405,0002,605,056stderr
4Aug 2, 2026 12:575,201156,033,828427,427,0009,242,0002,605,056stderr
5Aug 2, 2026 12:575,212156,387,156425,564,00010,315,0002,605,056stderr
6Aug 2, 2026 12:575,219156,583,374430,059,0009,385,0002,605,056stderr
7Aug 2, 2026 12:575,245157,376,724429,669,0009,359,0002,605,056stderr
8Aug 2, 2026 12:575,286158,603,603433,633,0009,651,0002,605,056stderr
9Aug 2, 2026 12:575,310159,315,042432,421,00010,228,0002,609,152stderr