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 listSep 4, 2026 15:54Victor MerckléVictor MerckléScore: 6,477Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2026 15:576,468223,394,084211,265,0002,196,0002,121,728stderr
2Sep 4, 2026 15:576,471222,197,790211,374,0002,190,0002,121,728stderr
3Sep 4, 2026 15:576,473222,127,687211,394,0002,216,0002,121,728stderr
4Sep 4, 2026 15:576,474222,196,591211,498,0002,170,0002,121,728stderr
5Sep 4, 2026 15:576,477222,933,975211,549,0002,201,0002,121,728stderr
6Sep 4, 2026 15:576,479222,878,967211,638,0002,198,0002,121,728stderr
7Sep 4, 2026 15:576,481222,961,317211,708,0002,177,0002,121,728stderr
8Sep 4, 2026 15:576,487222,576,156211,931,0002,166,0002,121,728stderr
9Sep 4, 2026 15:576,489223,270,925211,891,0002,248,0002,121,728stderr