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 11, 2024 12:36Vladimir TatVladimir TatScore: 127,831Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 11, 2024 12:36126,9304,218,547,3604,167,715,00020,988,0002,383,872
2Oct 11, 2024 12:36127,0414,224,251,8194,177,363,00014,990,0002,514,944
3Oct 11, 2024 12:36127,3434,239,997,3424,181,346,00020,986,0002,318,336
4Oct 11, 2024 12:36127,5864,241,826,4894,188,341,00021,986,0002,334,720
5Oct 11, 2024 12:36127,8314,249,558,4764,205,418,00012,992,0002,334,720
6Oct 11, 2024 12:36129,3294,297,507,4574,243,874,00023,987,0002,433,024
7Oct 11, 2024 12:36130,4734,337,733,3854,287,623,00017,990,0002,367,488
8Oct 11, 2024 12:36130,9024,353,697,0394,301,787,00017,986,0002,383,872
9Oct 11, 2024 12:36131,6104,376,408,6474,334,141,0008,994,0002,519,040