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 listMay 13, 2026 14:47Pavel SkripkinPavel SkripkinError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2026 14:480476,935,883465,345,0002,388,0002,117,632expected "1021828 ", got "1021830 "
2May 13, 2026 14:4812,919434,104,358423,644,0002,698,0002,117,632
3May 13, 2026 14:4813,191442,799,929432,618,0002,697,0002,117,632
4May 13, 2026 14:4813,291447,190,876436,065,0002,540,0002,117,632
5May 13, 2026 14:4813,542455,838,280444,375,0002,536,0002,117,632
6May 13, 2026 14:4813,628458,882,711447,031,0002,712,0002,117,632
7May 13, 2026 14:4813,673458,726,903448,498,0002,736,0002,117,632
8May 13, 2026 14:4813,776464,342,920451,897,0002,719,0002,117,632
9May 13, 2026 14:4814,281480,715,725468,634,0002,652,0002,117,632