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:26Karthik ReddyKarthik ReddyScore: 2,793Success
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:272,769100,311,40690,400,0001,003,00020,480
2Oct 6, 2026 05:272,770100,489,07690,411,0001,003,00020,480
3Oct 6, 2026 05:272,781100,840,31390,788,0001,015,00020,480
4Oct 6, 2026 05:272,783100,856,37890,864,0001,004,00020,480
5Oct 6, 2026 05:272,793101,189,05491,106,0001,065,00020,480
6Oct 6, 2026 05:272,794101,276,33791,206,0001,017,00020,480
7Oct 6, 2026 05:272,803101,480,32691,474,0001,055,00020,480
8Oct 6, 2026 05:272,806101,672,30691,598,0001,014,00020,480
9Oct 6, 2026 05:272,839102,766,03192,615,0001,074,00020,480