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 15, 2026 00:33Maya RebholzMaya RebholzError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 15, 2026 00:340419,102,319402,091,0007,727,0002,134,016expected "1019261 ", got "1019260 "
2Jun 15, 2026 00:3412,343416,774,230399,398,0007,940,0002,134,016
3Jun 15, 2026 00:3412,350416,893,890399,636,0007,929,0002,134,016
4Jun 15, 2026 00:3412,368417,507,761400,422,0007,742,0002,134,016
5Jun 15, 2026 00:3412,372417,562,845400,362,0007,920,0002,134,016
6Jun 15, 2026 00:3412,376417,781,067400,504,0007,911,0002,134,016
7Jun 15, 2026 00:3412,391418,487,859401,205,0007,722,0002,134,016
8Jun 15, 2026 00:3412,424419,698,258402,048,0007,976,0002,134,016
9Jun 15, 2026 00:3412,424419,618,605402,247,0007,762,0002,134,016