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 25, 2024 21:16Joad NacerJoad NacerScore: 7,364Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 25, 2024 21:166,857298,857,359226,265,52002,211,840
2Jun 25, 2024 21:166,865278,599,194226,548,30602,215,936
3Jun 25, 2024 21:166,873290,909,012226,795,32202,211,840
4Jun 25, 2024 21:167,197270,103,436210,548,00026,942,0002,334,720
5Jun 25, 2024 21:167,322266,680,880215,680,00025,961,0002,334,720
6Jun 25, 2024 21:167,356273,530,686214,766,00027,969,0002,392,064
7Jun 25, 2024 21:167,364272,630,823217,997,00024,999,0002,392,064
8Jun 25, 2024 21:167,389270,239,523220,852,00022,984,0002,392,064
9Jun 25, 2024 21:167,397277,041,579219,090,00025,010,0002,408,448
10Jun 25, 2024 21:167,411270,267,999219,622,00024,957,0002,387,968
11Jun 25, 2024 21:167,681281,806,014227,520,00025,945,0002,416,640
12Jun 25, 2024 21:168,255298,471,803247,460,00024,945,0002,396,160