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 listApr 10, 2026 16:46Oleg SkinderevOleg SkinderevScore: 492,919Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2026 16:46489,26116,180,593,29916,027,697,000117,931,0002,318,336
2Apr 10, 2026 16:46490,04716,212,819,81116,085,591,00085,955,0002,396,160
3Apr 10, 2026 16:46491,13116,241,310,43516,118,369,00088,941,0002,359,296
4Apr 10, 2026 16:46491,33916,253,474,67616,122,245,00091,944,0002,375,680
5Apr 10, 2026 16:46492,91916,306,236,67516,159,400,000106,929,0002,453,504
6Apr 10, 2026 16:46493,15316,307,445,07816,170,099,000103,942,0002,342,912
7Apr 10, 2026 16:46493,68716,335,075,43116,193,730,00097,943,0002,478,080
8Apr 10, 2026 16:46494,15416,350,555,24916,221,136,00085,942,0002,502,656
9Apr 10, 2026 16:46498,04116,475,291,12416,324,421,000110,934,0002,465,792