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:52АндрейАндрей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:5200000Error: Exit with code 2: SIGILL: illegal instruction PC=0x55b9cdd53792 m=0 sigcode=2 instruction bytes: 0x62 0xf1 0x7d 0x28 0x76 0xc9 0xc4 0xe1 0xf8 0x91 0x4c 0x24 0x18 0xc3 0xf3 0xf goroutine 1 [running]: main._asm_mm256_compare(0xc0020616ac, 0xc001f...stderr