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 05:29Victor MerckléVictor MerckléScore: 14,037Success
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 05:3013,899466,918,953335,506,000123,176,0002,117,632stderr
2Jun 27, 2026 05:3013,947468,478,652336,798,000123,465,0002,117,632stderr
3Jun 27, 2026 05:3013,968469,049,371339,144,000121,830,0002,117,632stderr
4Jun 27, 2026 05:3014,032471,295,423338,076,000124,993,0002,117,632stderr
5Jun 27, 2026 05:3014,037470,830,833339,781,000123,466,0002,117,632stderr
6Jun 27, 2026 05:3014,048471,109,278338,077,000125,507,0002,117,632stderr
7Jun 27, 2026 05:3014,073472,175,583336,449,000127,985,0002,117,632stderr
8Jun 27, 2026 05:3014,076472,218,208337,165,000127,375,0002,117,632stderr
9Jun 27, 2026 05:3014,101473,608,846338,500,000126,865,0002,117,632stderr