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 listJun 27, 2026 13:17Shikhar SoniShikhar SoniScore: 18,959Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 27, 2026 13:1818,852631,590,406597,781,00024,343,0002,113,536
2Jun 27, 2026 13:1818,905633,236,424599,395,00024,502,0002,113,536
3Jun 27, 2026 13:1818,909633,420,123598,769,00025,234,0002,113,536
4Jun 27, 2026 13:1818,932635,230,958600,374,00024,392,0002,113,536
5Jun 27, 2026 13:1818,959635,157,241601,187,00024,482,0002,113,536
6Jun 27, 2026 13:1818,991635,993,404602,046,00024,667,0002,113,536
7Jun 27, 2026 13:1819,005636,466,477602,938,00024,231,0002,113,536
8Jun 27, 2026 13:1819,044637,777,858604,053,00024,403,0002,113,536
9Jun 27, 2026 13:1819,057638,190,158604,231,00024,655,0002,113,536