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 1, 2026 10:55Victor MerckléVictor MerckléScore: 108,559Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 1, 2026 10:56108,1373,588,037,3983,530,545,00037,984,0002,322,432stderr
2May 1, 2026 10:56108,2403,589,463,9153,529,974,00041,975,0002,531,328stderr
3May 1, 2026 10:56108,3293,595,236,0923,538,901,00035,978,0002,547,712stderr
4May 1, 2026 10:56108,5183,601,465,8693,543,134,00037,979,0002,322,432stderr
5May 1, 2026 10:56108,5593,603,270,6063,543,470,00038,983,0002,326,528stderr
6May 1, 2026 10:56109,1813,625,550,3593,566,020,00036,979,0002,539,520stderr
7May 1, 2026 10:56109,1863,620,510,7543,569,181,00033,982,0002,478,080stderr
8May 1, 2026 10:56109,7073,641,783,0523,584,374,00035,973,0002,543,616stderr
9May 1, 2026 10:56110,0753,650,960,4793,594,502,00037,984,0002,535,424stderr