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 listJul 24, 2024 19:03Andrey LikhachevAndrey LikhachevError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2024 19:0200000Error: expected "1018498 ", got "1018497 "
2Jul 24, 2024 19:0300000Error: expected "1025852 ", got "1025850 "
3Jul 24, 2024 19:0300000Error: expected "1023497 ", got "1023496 "
4Jul 24, 2024 19:0334,0721,190,957,6451,124,380,48802,252,800
5Jul 24, 2024 19:0334,0741,197,517,9811,124,454,08702,387,968
6Jul 24, 2024 19:0334,1911,198,248,0071,128,297,25002,260,992