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 listFeb 12, 2026 04:07olliecrowolliecrowScore: 14,420Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 12, 2026 04:0714,343498,330,585465,322,0008,005,0002,326,528
2Feb 12, 2026 04:0714,386500,052,412465,744,0008,995,0002,330,624
3Feb 12, 2026 04:0714,403502,198,883466,303,0009,005,0002,281,472
4Feb 12, 2026 04:0714,415504,920,654465,691,0009,993,0002,322,432
5Feb 12, 2026 04:0714,420503,065,558466,875,0008,997,0002,306,048
6Feb 12, 2026 04:0714,433501,294,710467,292,0009,005,0002,420,736
7Feb 12, 2026 04:0714,467504,622,364469,400,0008,006,0002,322,432
8Feb 12, 2026 04:0714,489499,743,907470,145,0008,002,0002,502,656
9Feb 12, 2026 04:0714,598505,053,401472,751,0008,995,0002,387,968