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:01Andrew EpsteinAndrew EpsteinScore: 50,020Success
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:0849,4821,644,271,7101,624,706,0008,210,0002,121,728stderr
2Oct 30, 2026 01:0849,5371,646,339,9561,626,286,0008,451,0002,121,728stderr
3Oct 30, 2026 01:0849,5891,647,361,6921,627,989,0008,454,0002,121,728stderr
4Oct 30, 2026 01:0849,7451,653,091,2611,633,218,0008,371,0002,121,728stderr
5Oct 30, 2026 01:0850,0201,661,495,9911,642,216,0008,475,0002,121,728stderr
6Oct 30, 2026 01:0850,2501,670,129,1311,649,878,0008,386,0002,121,728stderr
7Oct 30, 2026 01:0850,2771,670,027,4481,649,840,0009,314,0002,121,728stderr
8Oct 30, 2026 01:0850,7961,688,160,7381,667,887,0008,406,0002,121,728stderr
9Oct 30, 2026 01:0850,9571,693,348,6261,673,400,0008,201,0002,121,728stderr