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 15, 2024 23:31Joad NacerJoad NacerScore: 7,037Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 15, 2024 23:316,613282,320,823218,238,40802,228,224
2Jun 15, 2024 23:316,631291,306,358218,808,40602,224,128
3Jun 15, 2024 23:316,692295,948,737220,837,39602,351,104
4Jun 15, 2024 23:316,959260,380,787207,693,00021,967,0002,363,392
5Jun 15, 2024 23:316,963254,094,197207,794,00021,978,0002,396,160
6Jun 15, 2024 23:316,978259,740,646206,252,00024,029,0002,392,064
7Jun 15, 2024 23:317,037261,111,787213,214,00019,019,0002,359,296
8Jun 15, 2024 23:317,051256,572,947209,723,00022,969,0002,392,064
9Jun 15, 2024 23:317,075259,151,853210,513,00022,946,0002,396,160
10Jun 15, 2024 23:317,080253,673,412208,685,00024,962,0002,363,392
11Jun 15, 2024 23:317,129257,113,983210,338,00024,921,0002,363,392
12Jun 15, 2024 23:317,159264,512,823211,226,00025,026,0002,392,064