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 8, 2026 11:38anboto1anboto1Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2026 11:400193,054,656174,608,0009,197,0002,117,632expected "1021644 ", got "1021642 "
2Jun 8, 2026 11:405,493190,516,658172,076,0009,194,0002,117,632
3Jun 8, 2026 11:405,500190,751,236172,357,0009,152,0002,117,632
4Jun 8, 2026 11:405,502190,855,782172,272,0009,306,0002,117,632
5Jun 8, 2026 11:405,513191,200,503172,700,0009,250,0002,117,632
6Jun 8, 2026 11:405,516191,274,424172,765,0009,264,0002,117,632
7Jun 8, 2026 11:405,518191,888,472172,842,0009,274,0002,117,632
8Jun 8, 2026 11:405,534191,820,263173,382,0009,240,0002,117,632
9Jun 8, 2026 11:405,546192,204,212173,597,0009,421,0002,117,632