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 listJun 27, 2026 21:12Victor MerckléVictor MerckléScore: 3,631Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 27, 2026 21:133,612128,454,761118,127,0001,101,0002,113,536
2Jun 27, 2026 21:133,621127,279,271118,363,0001,153,0002,113,536
3Jun 27, 2026 21:133,622127,449,339118,437,0001,107,0002,113,536
4Jun 27, 2026 21:133,629127,558,535118,632,0001,139,0002,113,536
5Jun 27, 2026 21:133,631127,635,909118,668,0001,178,0002,113,536
6Jun 27, 2026 21:133,631127,668,655118,718,0001,115,0002,113,536
7Jun 27, 2026 21:133,638127,826,608118,915,0001,164,0002,113,536
8Jun 27, 2026 21:133,638127,760,700118,959,0001,114,0002,113,536
9Jun 27, 2026 21:133,640127,943,868118,979,0001,156,0002,113,536