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 listDec 29, 2025 19:54zielajzielajScore: 3,626Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2025 19:543,603138,210,800110,921,0007,994,0002,285,568
2Dec 29, 2025 19:543,605139,768,683112,972,0005,998,0002,277,376
3Dec 29, 2025 19:543,606139,923,286111,986,0006,999,0002,412,544
4Dec 29, 2025 19:543,619143,830,419113,397,0006,021,0002,289,664
5Dec 29, 2025 19:543,626147,340,211112,692,0006,980,0002,281,472
6Dec 29, 2025 19:543,637141,607,543111,019,0009,001,0002,285,568
7Dec 29, 2025 19:543,639138,975,658112,071,0008,005,0002,269,184
8Dec 29, 2025 19:543,657145,227,044110,722,0009,974,0002,359,296
9Dec 29, 2025 19:543,748146,475,087115,701,0007,979,0002,478,080