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 13, 2026 18:42Karthik ReddyKarthik ReddyScore: 2,797Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 13, 2026 18:442,7446,099,827,98189,563,0001,004,00020,480
2Oct 13, 2026 18:442,7466,099,766,58889,641,0001,003,00020,480
3Oct 13, 2026 18:442,7596,100,256,07090,065,0001,004,00020,480
4Oct 13, 2026 18:442,7816,100,877,01490,769,0001,021,00020,480
5Oct 13, 2026 18:442,7976,101,520,56591,295,0001,019,00020,480
6Oct 13, 2026 18:442,7986,101,577,03391,284,0001,055,00020,480
7Oct 13, 2026 18:442,8016,101,630,85991,378,0001,061,00020,480
8Oct 13, 2026 18:442,8306,102,734,56592,356,0001,066,00020,480
9Oct 13, 2026 18:442,8626,103,689,26093,420,0001,044,00020,480