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:39Joad NacerJoad NacerScore: 6,029Success
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:395,757248,176,325189,995,35102,220,032
2Jun 15, 2024 23:395,789263,780,131191,039,01702,215,936
3Jun 15, 2024 23:395,879254,437,704194,000,23302,224,128
4Jun 15, 2024 23:395,892220,168,256171,391,00023,052,0002,392,064
5Jun 15, 2024 23:395,996225,064,143175,889,00021,986,0002,392,064
6Jun 15, 2024 23:396,025223,973,502173,849,00024,978,0002,342,912
7Jun 15, 2024 23:396,029227,265,691175,953,00022,993,0002,347,008
8Jun 15, 2024 23:396,068226,518,126174,203,00026,030,0002,347,008
9Jun 15, 2024 23:396,069225,888,024176,246,00024,033,0002,392,064
10Jun 15, 2024 23:396,103224,652,030177,459,00023,927,0002,400,256
11Jun 15, 2024 23:396,128233,621,726175,182,00027,028,0002,400,256
12Jun 15, 2024 23:396,226232,115,651181,514,00023,935,0002,338,816