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:20Andrew EpsteinAndrew EpsteinScore: 25,656Success
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:2225,476851,784,566835,458,0005,279,0002,121,728stderr
2Oct 30, 2026 22:2225,641857,681,923840,907,0005,246,0002,121,728stderr
3Oct 30, 2026 22:2225,649857,498,975841,212,0005,237,0002,121,728stderr
4Oct 30, 2026 22:2225,650858,284,984841,089,0005,375,0002,121,728stderr
5Oct 30, 2026 22:2225,656857,576,255841,410,0005,244,0002,121,728stderr
6Oct 30, 2026 22:2225,688859,222,403842,497,0005,225,0002,121,728stderr
7Oct 30, 2026 22:2225,814862,897,263846,534,0005,348,0002,121,728stderr
8Oct 30, 2026 22:2225,867865,086,677848,414,0005,209,0002,121,728stderr
9Oct 30, 2026 22:2225,986869,214,375852,319,0005,234,0002,121,728stderr