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 listApr 26, 2026 05:24limanjun99limanjun99Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 26, 2026 05:240523,863,509432,998,00071,999,0002,367,488expected "1025179 ", got "1025179back:167324636,front:1603108200,"
2Apr 26, 2026 05:240526,112,438437,296,00071,048,0002,314,240expected "1021127 ", got "1021127back:162687788,front:1620116780,"
3Apr 26, 2026 05:240526,495,685432,609,00075,931,0002,322,432expected "1019088 ", got "1019088back:162889216,front:1619974496,"