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 10:41Joad NacerJoad NacerScore: 5,418Success
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 10:414,734209,906,240156,220,29302,220,032
2Jun 17, 2024 10:414,803233,495,093158,502,23102,220,032
3Jun 17, 2024 10:414,851228,884,318160,090,52502,215,936
4Jun 17, 2024 10:415,283203,580,603148,276,00026,048,0002,359,296
5Jun 17, 2024 10:415,369204,649,266153,155,00024,024,0002,355,200
6Jun 17, 2024 10:415,414202,118,533154,721,00023,956,0002,387,968
7Jun 17, 2024 10:415,418206,592,025156,817,00021,974,0002,400,256
8Jun 17, 2024 10:415,446204,215,717153,769,00025,961,0002,400,256
9Jun 17, 2024 10:415,501214,130,276157,583,00023,936,0002,355,200
10Jun 17, 2024 10:415,559214,854,541158,524,00024,925,0002,359,296
11Jun 17, 2024 10:415,602212,157,415161,869,00022,981,0002,396,160
12Jun 17, 2024 10:415,723211,083,764164,866,00023,980,0002,387,968