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 01:05Andrew EpsteinAndrew EpsteinScore: 46,573Success
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 01:3346,2581,537,626,1961,519,164,0007,374,0002,121,728stderr
2Oct 30, 2026 01:3346,4191,542,804,0531,524,456,0007,386,0002,121,728stderr
3Oct 30, 2026 01:3346,4971,545,726,9571,526,060,0008,362,0002,121,728stderr
4Oct 30, 2026 01:3346,5001,545,422,6531,527,215,0007,313,0002,121,728stderr
5Oct 30, 2026 01:3346,5731,548,313,3151,529,580,0007,358,0002,121,728stderr
6Oct 30, 2026 01:3346,6031,549,493,7611,529,325,0008,574,0002,121,728stderr
7Oct 30, 2026 01:3347,0861,564,874,0431,546,465,0007,396,0002,121,728stderr
8Oct 30, 2026 01:3348,1121,598,647,5371,580,309,0007,388,0002,121,728stderr
9Oct 30, 2026 01:3352,2781,736,491,5731,717,867,0007,334,0002,121,728stderr