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 22:32Victor MerckléVictor MerckléScore: 3,328Success
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 22:323,317117,235,191108,387,0001,094,0002,113,536
2Jun 27, 2026 22:323,321117,416,698108,507,0001,104,0002,113,536
3Jun 27, 2026 22:323,322117,324,086108,550,0001,098,0002,113,536
4Jun 27, 2026 22:323,326117,621,137108,609,0001,149,0002,113,536
5Jun 27, 2026 22:323,328117,720,280108,727,0001,124,0002,113,536
6Jun 27, 2026 22:323,329117,631,139108,709,0001,162,0002,113,536
7Jun 27, 2026 22:323,329117,599,344108,757,0001,107,0002,113,536
8Jun 27, 2026 22:323,335118,067,145108,955,0001,113,0002,113,536
9Jun 27, 2026 22:323,341118,055,030109,096,0001,177,0002,113,536