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 listMay 27, 2024 23:47Joad NacerJoad NacerScore: 8,332Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2024 23:477,800335,713,525257,397,85502,228,224
2May 27, 2024 23:477,857322,765,962259,268,83702,228,224
3May 27, 2024 23:477,864330,948,776259,520,39702,228,224
4May 27, 2024 23:478,245296,790,273216,056,00056,014,0002,428,928
5May 27, 2024 23:478,299297,707,323216,899,00056,973,0002,273,280
6May 27, 2024 23:478,320301,780,524217,659,00056,910,0002,269,184
7May 27, 2024 23:478,332296,537,563218,973,00055,993,0002,355,200
8May 27, 2024 23:478,341302,770,045217,197,00058,052,0002,437,120
9May 27, 2024 23:478,436308,324,380219,522,00058,872,0002,428,928
10May 27, 2024 23:478,454305,915,829220,983,00057,995,0002,437,120
11May 27, 2024 23:478,553313,696,228226,200,00056,049,0002,445,312
12May 27, 2024 23:478,588305,539,077226,525,00056,880,0002,433,024