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 04:37Karthik ReddyKarthik ReddyScore: 2,974Success
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 04:382,916105,360,94795,193,0001,064,00020,480
2Oct 6, 2026 04:382,941106,078,72996,049,0001,004,00020,480
3Oct 6, 2026 04:382,959106,820,49196,586,0001,067,00020,480
4Oct 6, 2026 04:382,964106,902,61496,836,0001,006,00020,480
5Oct 6, 2026 04:382,974107,182,05897,161,0001,003,00020,480
6Oct 6, 2026 04:383,004108,139,52998,092,0001,060,00020,480
7Oct 6, 2026 04:383,008108,307,18998,182,0001,089,00020,480
8Oct 6, 2026 04:383,011108,502,36398,305,0001,064,00020,480
9Oct 6, 2026 04:383,018108,701,56698,607,0001,018,00020,480