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 29, 2026 23:40Andrew EpsteinAndrew EpsteinScore: 72,401Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 29, 2026 23:4571,8612,382,618,2212,334,885,00036,540,0002,121,728stderr
2Oct 29, 2026 23:4571,9612,385,858,0532,338,441,00036,272,0002,121,728stderr
3Oct 29, 2026 23:4572,1872,393,378,4492,345,863,00036,326,0002,121,728stderr
4Oct 29, 2026 23:4572,2882,396,425,9692,349,215,00036,295,0002,121,728stderr
5Oct 29, 2026 23:4572,4012,400,724,8332,352,465,00036,780,0002,121,728stderr
6Oct 29, 2026 23:4572,4572,402,170,0042,353,779,00037,325,0002,121,728stderr
7Oct 29, 2026 23:4572,4602,402,626,4242,354,910,00036,275,0002,121,728stderr
8Oct 29, 2026 23:4572,5352,405,175,6582,356,930,00036,745,0002,121,728stderr
9Oct 29, 2026 23:4572,7742,412,963,7882,364,895,00036,669,0002,121,728stderr