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 03:30Karthik ReddyKarthik ReddyScore: 3,980Success
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 03:313,951139,424,182128,393,0002,013,00020,480
2Oct 6, 2026 03:313,967139,938,670128,909,0002,014,00020,480
3Oct 6, 2026 03:313,969140,101,525128,986,0002,013,00020,480
4Oct 6, 2026 03:313,977140,291,065129,244,0002,014,00020,480
5Oct 6, 2026 03:313,980140,500,972129,347,0002,016,00020,480
6Oct 6, 2026 03:313,982140,480,106129,418,0002,013,00020,480
7Oct 6, 2026 03:313,999141,117,629129,972,0002,015,00020,480
8Oct 6, 2026 03:314,023141,844,586130,760,0002,014,00020,480
9Oct 6, 2026 03:314,031142,165,298131,020,0002,012,00020,480