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 28, 2024 00:03Joad NacerJoad NacerScore: 11,223Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2024 00:0310,886422,237,691359,253,68202,310,144
2May 28, 2024 00:0310,914423,638,315360,152,37102,314,240
3May 28, 2024 00:0311,001419,039,704363,038,68502,314,240
4May 28, 2024 00:0311,192396,120,566303,457,00065,882,0002,379,776
5May 28, 2024 00:0311,208403,156,404308,893,00060,978,0002,482,176
6May 28, 2024 00:0311,218394,455,609309,158,00061,031,0002,379,776
7May 28, 2024 00:0311,223399,552,158309,456,00060,892,0002,482,176
8May 28, 2024 00:0311,241393,706,176307,966,00062,993,0002,387,968
9May 28, 2024 00:0311,255398,008,190307,520,00063,900,0002,297,856
10May 28, 2024 00:0311,257397,483,421306,563,00064,907,0002,387,968
11May 28, 2024 00:0311,278395,070,874309,147,00063,029,0002,379,776
12May 28, 2024 00:0311,317400,509,896307,546,00065,902,0002,383,872