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 listDec 18, 2022 19:58Franek KortaFranek KortaScore: 16,682Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 18, 2022 19:5816,589566,238,752530,461,00016,982,0002,355,200
2Dec 18, 2022 19:5816,592578,920,705529,556,00017,984,0002,351,104
3Dec 18, 2022 19:5816,595572,187,165533,646,00013,990,0002,351,104
4Dec 18, 2022 19:5816,600571,122,540534,801,00012,995,0002,424,832
5Dec 18, 2022 19:5816,610576,107,293530,119,00018,004,0002,359,296
6Dec 18, 2022 19:5816,681575,363,499529,486,00020,979,0002,342,912
7Dec 18, 2022 19:5816,682578,654,361530,540,00019,982,0002,519,040
8Dec 18, 2022 19:5816,685574,611,545531,617,00018,986,0002,277,376
9Dec 18, 2022 19:5816,690578,447,637534,780,00015,993,0002,449,408
10Dec 18, 2022 19:5817,221630,644,423568,298,14402,273,280
11Dec 18, 2022 19:5817,229623,212,161568,549,69902,273,280
12Dec 18, 2022 19:5817,753642,913,026585,859,98402,273,280