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 17, 2024 12:34Joad NacerJoad NacerScore: 6,448Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2024 12:346,335270,980,739209,055,92302,347,008
2Jun 17, 2024 12:346,359233,281,132183,879,00025,983,0002,351,104
3Jun 17, 2024 12:346,361266,676,723209,913,90202,215,936
4Jun 17, 2024 12:346,424233,933,380189,995,00021,999,0002,469,888
5Jun 17, 2024 12:346,429235,618,346187,138,00025,018,0002,363,392
6Jun 17, 2024 12:346,443277,287,364212,628,66402,207,744
7Jun 17, 2024 12:346,448241,441,739186,809,00025,973,0002,400,256
8Jun 17, 2024 12:346,463238,035,855193,346,00019,932,0002,428,928
9Jun 17, 2024 12:346,495248,277,590184,429,00029,907,0002,367,488
10Jun 17, 2024 12:346,529241,913,489189,523,00025,934,0002,404,352
11Jun 17, 2024 12:346,720244,999,177193,797,00027,970,0002,396,160
12Jun 17, 2024 12:346,731251,643,726199,119,00023,013,0002,363,392