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 08:46anboto1anboto1Error
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 08:470194,738,309175,106,0009,830,0002,117,632expected "1021979 ", got "1021978 "
2Jun 8, 2026 08:475,525192,025,677172,595,0009,734,0002,117,632
3Jun 8, 2026 08:475,533192,354,324172,936,0009,666,0002,117,632
4Jun 8, 2026 08:475,541192,716,642173,228,0009,644,0002,117,632
5Jun 8, 2026 08:475,549192,796,205173,298,0009,827,0002,117,632
6Jun 8, 2026 08:475,558192,719,803173,695,0009,722,0002,117,632
7Jun 8, 2026 08:475,563192,835,392173,984,0009,620,0002,117,632
8Jun 8, 2026 08:475,566192,969,698174,334,0009,344,0002,117,632
9Jun 8, 2026 08:475,580193,845,475174,347,0009,808,0002,117,632