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 listFeb 26, 2025 16:45AdityaAdityaScore: 470,836Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 26, 2025 16:45468,41115,493,842,69715,353,642,000103,936,0002,285,568
2Feb 26, 2025 16:45469,20615,520,843,54015,379,862,000103,938,0002,363,392
3Feb 26, 2025 16:45469,21815,524,572,79415,392,258,00091,947,0002,371,584
4Feb 26, 2025 16:45470,57515,576,036,31215,426,051,000102,940,0002,506,752
5Feb 26, 2025 16:45470,83615,579,813,26115,432,656,000104,929,0002,396,160
6Feb 26, 2025 16:45471,60615,597,808,24215,458,077,000104,925,0002,338,816
7Feb 26, 2025 16:45473,69215,669,519,24515,527,916,000103,925,0002,506,752
8Feb 26, 2025 16:45476,11715,745,935,67515,616,929,00094,944,0002,420,736
9Feb 26, 2025 16:45478,81515,842,269,99415,695,956,000104,932,0002,482,176