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 30, 2026 22:39Andrew EpsteinAndrew EpsteinScore: 2,780Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2026 22:402,760100,500,68689,817,0001,271,0002,117,632
2Oct 30, 2026 22:402,768100,697,74290,090,0001,275,0002,117,632
3Oct 30, 2026 22:402,774100,945,87490,527,0001,019,0002,117,632
4Oct 30, 2026 22:402,776101,015,33890,599,0001,017,0002,117,632
5Oct 30, 2026 22:402,780101,232,68790,735,0001,026,0002,117,632
6Oct 30, 2026 22:402,785101,291,01790,904,0001,024,0002,117,632
7Oct 30, 2026 22:402,803101,981,61491,515,0001,009,0002,117,632
8Oct 30, 2026 22:402,808102,022,94291,661,0001,016,0002,117,632
9Oct 30, 2026 22:402,815103,838,15391,624,0001,287,0002,117,632