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:48Andrew EpsteinAndrew EpsteinScore: 2,736Success
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:492,72699,496,60288,966,0001,020,0002,117,632
2Oct 30, 2026 22:492,72699,390,15388,683,0001,285,0002,117,632
3Oct 30, 2026 22:492,72799,459,46788,715,0001,287,0002,117,632
4Oct 30, 2026 22:492,73399,614,93788,921,0001,281,0002,117,632
5Oct 30, 2026 22:492,73699,695,57989,287,0001,007,0002,117,632
6Oct 30, 2026 22:492,753100,309,38889,791,0001,072,0002,117,632
7Oct 30, 2026 22:492,763100,576,25089,896,0001,289,0002,117,632
8Oct 30, 2026 22:492,776101,087,32490,602,0001,029,0002,117,632
9Oct 30, 2026 22:492,787101,461,02890,987,0001,006,0002,117,632