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 09:26Victor MerckléVictor MerckléScore: 2,882Success
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 9, 2026 06:17C#_user10.00CustomSolution Held
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2026 09:292,874103,345,63692,751,0002,095,0002,117,632stderr
2Sep 4, 2026 09:292,879103,468,50392,887,0002,128,0002,117,632stderr
3Sep 4, 2026 09:292,880103,461,87192,946,0002,098,0002,117,632stderr
4Sep 4, 2026 09:292,882103,714,66793,034,0002,084,0002,117,632stderr
5Sep 4, 2026 09:292,882103,616,15193,019,0002,115,0002,117,632stderr
6Sep 4, 2026 09:292,901104,330,92993,633,0002,124,0002,117,632stderr
7Sep 4, 2026 09:292,912104,673,69294,016,0002,112,0002,117,632stderr
8Sep 4, 2026 09:292,950107,190,18495,255,0002,095,0002,117,632stderr
9Sep 4, 2026 09:292,950105,964,03995,292,0002,073,0002,117,632stderr