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 21, 2026 10:19Victor MerckléVictor MerckléScore: 7,782Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 21, 2026 10:207,761263,989,086218,621,00037,497,0002,113,536
2Jun 21, 2026 10:207,769264,234,887218,900,00037,482,0002,113,536
3Jun 21, 2026 10:207,769264,401,830218,919,00037,471,0002,113,536
4Jun 21, 2026 10:207,773264,298,777219,023,00037,501,0002,113,536
5Jun 21, 2026 10:207,782264,442,021218,488,00038,339,0002,113,536
6Jun 21, 2026 10:207,784264,702,082219,412,00037,469,0002,113,536
7Jun 21, 2026 10:207,784266,507,493218,542,00038,348,0002,113,536
8Jun 21, 2026 10:207,852266,962,335221,555,00037,582,0002,113,536
9Jun 21, 2026 10:207,903268,387,816224,434,00036,382,0002,113,536