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 listSep 3, 2023 16:26matsuoka-601matsuoka-601Score: 8,204Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 3, 2023 16:268,057330,891,778265,893,75802,195,456
2Sep 3, 2023 16:268,092326,374,424267,031,45702,187,264
3Sep 3, 2023 16:268,141324,659,355268,648,74202,179,072
4Sep 3, 2023 16:268,149299,738,618251,937,00016,995,0002,379,776
5Sep 3, 2023 16:268,171293,512,243247,669,00021,970,0002,404,352
6Sep 3, 2023 16:268,184291,832,810248,076,00022,006,0002,502,656
7Sep 3, 2023 16:268,204297,231,432253,761,00016,984,0002,392,064
8Sep 3, 2023 16:268,208293,383,086254,861,00015,991,0002,392,064
9Sep 3, 2023 16:268,231293,796,248252,664,00018,974,0002,514,944
10Sep 3, 2023 16:268,234296,929,490251,745,00019,979,0002,318,336
11Sep 3, 2023 16:268,275294,768,421253,074,00020,005,0002,387,968
12Sep 3, 2023 16:268,291297,589,304256,566,00017,037,0002,441,216