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 listJul 30, 2022 06:11Robert BurkeRobert BurkeScore: 7,469Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2022 06:116,757281,772,126222,985,37502,260,992
2Jul 30, 2022 06:116,789297,165,611224,031,67902,277,376
3Jul 30, 2022 06:116,885285,541,984227,216,55102,260,992
4Jul 30, 2022 06:117,382267,679,129237,608,0005,990,0002,273,280
5Jul 30, 2022 06:117,453268,599,594240,956,0004,999,0002,404,352
6Jul 30, 2022 06:117,464276,207,183242,294,0004,004,0002,289,664
7Jul 30, 2022 06:117,469273,219,319242,491,0003,991,0002,367,488
8Jul 30, 2022 06:117,473272,458,129241,614,0004,992,0002,363,392
9Jul 30, 2022 06:117,478269,427,565241,766,0004,995,0002,289,664
10Jul 30, 2022 06:117,482271,233,056243,902,0002,998,0002,273,280
11Jul 30, 2022 06:117,503274,469,094239,603,0007,986,0002,375,680
12Jul 30, 2022 06:117,536271,392,846244,706,0003,995,0002,371,584