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 30, 2025 19:45Aman | अमनAman | अमनScore: 328,624Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2025 19:45324,60210,747,721,40110,619,914,00091,947,0002,265,088
2Dec 30, 2025 19:45326,79410,821,115,39210,686,265,00097,947,0002,441,216
3Dec 30, 2025 19:45327,00110,826,999,10110,688,106,000102,933,0002,408,448
4Dec 30, 2025 19:45327,26510,835,002,06510,684,802,000114,933,0002,428,928
5Dec 30, 2025 19:45328,62410,881,167,06110,757,648,00086,948,0002,363,392
6Dec 30, 2025 19:45328,88510,885,816,99810,762,248,00090,942,0002,306,048
7Dec 30, 2025 19:45329,50210,910,298,00210,772,636,000100,940,0002,285,568
8Dec 30, 2025 19:45333,20811,031,940,85510,913,899,00081,954,0002,424,832
9Dec 30, 2025 19:45334,15011,057,146,25910,925,012,000101,934,0002,392,064