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 4, 2023 18:27АндрейАндрейError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 4, 2023 18:2700000Error: Exit with code 2: SIGILL: illegal instruction PC=0x561aaba9a7ad m=0 sigcode=2 instruction bytes: 0x62 0xf2 0x7d 0x28 0x7c 0xc9 0xc5 0xf5 0x76 0xc0 0xc5 0xfd 0xd7 0xc0 0x89 0x44 goroutine 1 [running]: main._asm_mm256_compare32(0xc00050cd08, 0xa7...stderr