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 16:06Victor MerckléVictor MerckléScore: 6,649Success
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 16:076,618225,907,572180,064,00038,331,0002,117,632stderr
2Jun 21, 2026 16:076,624227,650,668180,959,00037,651,0002,117,632stderr
3Jun 21, 2026 16:076,625226,403,550180,429,00038,225,0002,117,632stderr
4Jun 21, 2026 16:076,627226,262,317180,562,00038,146,0002,117,632stderr
5Jun 21, 2026 16:076,649227,019,157181,254,00038,186,0002,117,632stderr
6Jun 21, 2026 16:076,655227,183,124181,131,00038,484,0002,117,632stderr
7Jun 21, 2026 16:076,667227,525,487181,367,00038,648,0002,117,632stderr
8Jun 21, 2026 16:076,687228,147,820182,280,00038,396,0002,117,632stderr
9Jun 21, 2026 16:076,715229,139,077184,325,00037,285,0002,117,632stderr