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:32Victor MerckléVictor MerckléScore: 5,306Success
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:335,261157,847,358429,540,0009,300,0002,600,960stderr
2Aug 2, 2026 12:335,271158,157,333430,913,0009,173,0002,600,960stderr
3Aug 2, 2026 12:335,286158,605,621430,394,0009,029,0002,600,960stderr
4Aug 2, 2026 12:335,299158,972,079429,405,0008,946,0002,605,056stderr
5Aug 2, 2026 12:335,306159,181,202429,393,0009,100,0002,600,960stderr
6Aug 2, 2026 12:335,319159,595,202431,116,0008,992,0002,605,056stderr
7Aug 2, 2026 12:335,419162,592,914438,637,0008,980,0002,600,960stderr
8Aug 2, 2026 12:335,462163,886,694439,333,0007,930,0002,605,056stderr
9Aug 2, 2026 12:335,847175,411,379453,044,00010,096,0002,600,960stderr