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 17, 2022 23:22Franek KortaFranek KortaScore: 17,013Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 17, 2022 23:2216,901581,212,315540,757,00016,992,0002,359,296
2Dec 17, 2022 23:2216,913580,084,310542,116,00016,003,0002,494,464
3Dec 17, 2022 23:2216,972583,687,940544,068,00016,002,0002,420,736
4Dec 17, 2022 23:2216,972586,921,823541,084,00019,002,0002,363,392
5Dec 17, 2022 23:2216,986581,986,845541,542,00018,983,0002,359,296
6Dec 17, 2022 23:2216,993589,491,610544,786,00015,993,0002,334,720
7Dec 17, 2022 23:2217,013582,496,162543,462,00017,982,0002,445,312
8Dec 17, 2022 23:2217,029583,348,707541,996,00019,963,0002,404,352
9Dec 17, 2022 23:2217,030588,651,288549,026,00012,976,0002,441,216
10Dec 17, 2022 23:2217,683644,125,246583,533,78802,273,280
11Dec 17, 2022 23:2217,769653,779,829586,379,39002,281,472
12Dec 17, 2022 23:2217,827647,277,429588,291,22202,269,184