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 listJan 7, 2026 14:08zielajzielajScore: 3,156Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 7, 2026 14:083,065120,562,63299,158,0002,003,0002,502,656
2Jan 7, 2026 14:083,095124,716,920100,128,0002,002,0002,535,424
3Jan 7, 2026 14:083,102126,175,563101,352,0001,003,0002,535,424
4Jan 7, 2026 14:083,131121,197,069102,317,0001,003,0002,400,256
5Jan 7, 2026 14:083,156127,531,331102,135,0002,002,0002,535,424
6Jan 7, 2026 14:083,160125,894,299103,294,0001,002,0002,396,160
7Jan 7, 2026 14:083,164125,151,309103,408,0001,003,0002,400,256
8Jan 7, 2026 14:083,220127,185,977105,271,0001,002,0002,457,600
9Jan 7, 2026 14:083,244126,689,053106,066,0001,000,0002,355,200