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 listOct 6, 2026 05:22Karthik ReddyKarthik ReddyScore: 2,769Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 6, 2026 05:232,74799,862,10789,674,0001,007,00020,480
2Oct 6, 2026 05:232,74899,693,50089,700,0001,003,00020,480
3Oct 6, 2026 05:232,758100,137,94889,989,0001,053,00020,480
4Oct 6, 2026 05:232,760100,193,10390,083,0001,014,00020,480
5Oct 6, 2026 05:232,769100,540,94790,360,0001,017,00020,480
6Oct 6, 2026 05:232,773100,594,24090,394,0001,125,00020,480
7Oct 6, 2026 05:232,775100,625,44090,526,0001,060,00020,480
8Oct 6, 2026 05:232,778100,668,32090,670,0001,006,00020,480
9Oct 6, 2026 05:232,816102,067,01391,924,0001,011,00020,480