Unique strings Sergey Svistunov

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 listSep 4, 2026 06:56Victor MerckléVictor MerckléScore: 2,883Success
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 9, 2026 10:12C#_user10.00CustomSolution Held
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2026 06:572,866103,098,50092,488,0002,099,0002,117,632stderr
2Sep 4, 2026 06:572,867103,081,63592,486,0002,137,0002,117,632stderr
3Sep 4, 2026 06:572,868103,107,44092,600,0002,076,0002,117,632stderr
4Sep 4, 2026 06:572,873103,296,04992,746,0002,067,0002,117,632stderr
5Sep 4, 2026 06:572,883103,562,69093,048,0002,116,0002,117,632stderr
6Sep 4, 2026 06:572,888103,686,88693,182,0002,150,0002,117,632stderr
7Sep 4, 2026 06:572,896104,121,94593,455,0002,127,0002,117,632stderr
8Sep 4, 2026 06:572,905104,356,30093,795,0002,099,0002,117,632stderr
9Sep 4, 2026 06:572,912104,619,90793,970,0002,156,0002,117,632stderr