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 listAug 31, 2026 08:37Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 4, 2026 21:54Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2026 21:59020,020,572,64120,007,084,0004,221,00016,384Killed by timeout
2Aug 31, 2026 08:402,861102,536,63392,317,0002,126,0002,117,632stderr
3Aug 31, 2026 08:402,861102,516,65492,315,0002,099,0002,117,632stderr
4Aug 31, 2026 08:402,864102,731,32092,448,0002,069,0002,117,632stderr
5Aug 31, 2026 08:402,871103,053,25092,698,0002,060,0002,117,632stderr
6Aug 31, 2026 08:402,912104,164,12994,039,0002,083,0002,117,632stderr
7Aug 31, 2026 08:402,913104,212,44494,033,0002,123,0002,117,632stderr
8Aug 31, 2026 08:402,914106,909,96194,093,0002,093,0002,117,632stderr
9Aug 31, 2026 08:403,477129,640,893112,661,0002,101,0002,117,632stderr
10Aug 31, 2026 08:403,545134,034,487114,889,0002,115,0002,117,632stderr