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 listJul 31, 2025 14:34Leonardo Pedrozo AmaralLeonardo Pedrozo AmaralScore: 134,911Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 31, 2025 14:34133,8734,444,590,1384,288,868,000128,935,0002,277,376
2Jul 31, 2025 14:34133,9854,450,401,2014,301,588,000119,932,0002,330,624
3Jul 31, 2025 14:34134,2774,460,001,5404,307,219,000123,919,0002,277,376
4Jul 31, 2025 14:34134,6144,468,808,3544,293,366,000148,908,0002,277,376
5Jul 31, 2025 14:34134,9114,481,657,0544,324,160,000127,916,0002,396,160
6Jul 31, 2025 14:34135,4664,497,479,6874,315,456,000154,908,0002,277,376
7Jul 31, 2025 14:34135,4914,500,033,1434,325,308,000145,909,0002,277,376
8Jul 31, 2025 14:34135,7254,508,713,3444,332,031,000146,899,0002,277,376
9Jul 31, 2025 14:34136,0014,513,634,6364,351,133,000136,909,0002,277,376