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 listJul 25, 2025 11:13Hayk KarapetyanHayk KarapetyanScore: 489,080Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2025 11:13486,92616,105,437,22315,960,619,000107,943,0002,293,760
2Jul 25, 2025 11:13486,99016,111,062,43315,968,745,000101,940,0002,383,872
3Jul 25, 2025 11:13487,11016,118,033,05215,972,690,000101,934,0002,519,040
4Jul 25, 2025 11:13487,96716,137,622,25615,997,961,000104,934,0002,498,560
5Jul 25, 2025 11:13489,08016,177,046,31516,039,713,00099,942,0002,412,544
6Jul 25, 2025 11:13489,57316,196,142,98116,051,989,000103,935,0002,355,200
7Jul 25, 2025 11:13490,53916,225,890,76816,089,845,00097,932,0002,408,448
8Jul 25, 2025 11:13490,74016,231,282,20916,099,468,00094,943,0002,424,832
9Jul 25, 2025 11:13494,73016,367,300,08416,203,149,000122,925,0002,379,776