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 10, 2024 23:55Hayden DonnellyHayden DonnellyScore: 482,182Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 10, 2024 23:55449,44714,868,780,32514,712,834,000118,917,0002,281,472
2Dec 10, 2024 23:55478,62015,827,628,99215,694,501,00099,945,0002,465,792
3Dec 10, 2024 23:55480,39415,888,069,49915,757,077,00095,939,0002,277,376
4Dec 10, 2024 23:55481,47915,926,300,30515,790,857,00097,943,0002,412,544
5Dec 10, 2024 23:55482,18215,952,160,02415,788,071,000123,929,0002,338,816
6Dec 10, 2024 23:55482,38215,954,271,50615,816,685,000101,933,0002,269,184
7Dec 10, 2024 23:55483,20715,984,441,66415,859,874,00085,945,0002,490,368
8Dec 10, 2024 23:55484,80716,037,113,46915,910,700,00087,943,0002,404,352
9Dec 10, 2024 23:55485,38916,052,844,36715,907,907,000109,930,0002,453,504