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 listSep 4, 2024 15:14Yuriy LyfenkoYuriy LyfenkoScore: 9,017Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2024 15:148,967319,707,717288,920,0006,998,0002,441,216
2Sep 4, 2024 15:148,976319,779,670288,198,0008,005,0002,519,040
3Sep 4, 2024 15:148,988323,836,586288,615,0007,989,0002,367,488
4Sep 4, 2024 15:149,000325,327,961287,987,0008,999,0002,334,720
5Sep 4, 2024 15:149,017322,956,328287,580,0009,985,0002,494,464
6Sep 4, 2024 15:149,018327,291,431289,591,0007,988,0002,523,136
7Sep 4, 2024 15:149,029330,878,457293,959,0003,999,0002,351,104
8Sep 4, 2024 15:149,055326,112,297289,836,0008,994,0002,355,200
9Sep 4, 2024 15:149,206328,641,609296,794,0006,995,0002,355,200