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 listMay 14, 2023 17:30АндрейАндрейError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 14, 2023 17:3000000Error: Exit with code 2: SIGILL: illegal instruction PC=0x56000763272d m=0 sigcode=2 instruction bytes: 0x62 0xf2 0x7d 0x28 0x7c 0xc9 0x62 0xf1 0x7d 0x28 0x76 0xc9 0xc4 0xe1 0xf8 0x91 goroutine 1 [running]: main._asm_mm256_compare(0xc0020d3454, 0x384c...stderr