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:55Franek KortaFranek KortaScore: 16,527Success
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:5516,442573,520,476524,585,00017,985,0002,441,216
2Dec 18, 2022 19:5516,447569,161,288524,774,00017,992,0002,359,296
3Dec 18, 2022 19:5516,453565,659,152526,962,00015,998,0002,379,776
4Dec 18, 2022 19:5516,454568,308,614526,974,00015,999,0002,355,200
5Dec 18, 2022 19:5516,469567,159,593528,492,00014,985,0002,363,392
6Dec 18, 2022 19:5516,483565,845,240530,936,00012,998,0002,338,816
7Dec 18, 2022 19:5516,527568,007,644528,405,00016,980,0002,351,104
8Dec 18, 2022 19:5516,546571,900,064528,063,00017,968,0002,433,024
9Dec 18, 2022 19:5516,547572,805,774531,066,00014,973,0002,355,200
10Dec 18, 2022 19:5517,921667,565,853591,389,97902,269,184
11Dec 18, 2022 19:5517,950660,389,927592,340,45102,265,088
12Dec 18, 2022 19:5517,962662,547,528592,758,20802,281,472