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 listMay 15, 2026 00:53zielajzielajScore: 3,027Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2026 00:552,971105,399,25495,925,0002,144,0002,117,632stderr
2May 15, 2026 00:552,982105,563,01996,326,0002,100,0002,117,632stderr
3May 15, 2026 00:553,009107,186,01297,187,0002,127,0002,117,632stderr
4May 15, 2026 00:553,026107,141,41497,763,0002,105,0002,117,632stderr
5May 15, 2026 00:553,027109,074,59397,789,0002,109,0002,117,632stderr
6May 15, 2026 00:553,033107,690,80097,991,0002,106,0002,117,632stderr
7May 15, 2026 00:553,054109,990,17398,609,0002,193,0002,117,632stderr
8May 15, 2026 00:553,069109,883,81698,994,0002,285,0002,117,632stderr
9May 15, 2026 00:553,143114,352,152101,670,0002,080,0002,117,632stderr