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 listOct 19, 2024 19:10Sybrand AarnoutseSybrand AarnoutseScore: 53,839Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 19, 2024 19:1053,7151,802,183,4811,633,775,000138,811,0002,281,472
2Oct 19, 2024 19:1053,7301,801,619,1351,627,238,000145,842,0002,326,528
3Oct 19, 2024 19:1053,7411,798,960,4661,621,590,000151,868,0002,297,856
4Oct 19, 2024 19:1053,8101,804,167,4061,634,908,000140,819,0002,293,760
5Oct 19, 2024 19:1053,8391,810,742,3511,628,888,000147,808,0002,293,760
6Oct 19, 2024 19:1053,8541,803,578,0911,645,313,000131,864,0002,293,760
7Oct 19, 2024 19:1053,9121,803,433,9601,645,253,000133,857,0002,293,760
8Oct 19, 2024 19:1053,9821,814,989,7901,649,608,000131,808,0002,408,448
9Oct 19, 2024 19:1054,9261,841,482,7211,662,770,000149,799,0002,293,760