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 28, 2024 22:33Joad NacerJoad NacerError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2024 22:3300000Error: expected "1018894 ", got "1017930 "
2May 28, 2024 22:3300000Error: expected "1021607 ", got "1020621 "
3May 28, 2024 22:3300000Error: expected "1023527 ", got "1022492 "
4May 28, 2024 22:3300000Error: expected "1025242 ", got "1024268 "
5May 28, 2024 22:4200000Error: expected "1025960 ", got "1024981 "
6May 28, 2024 22:4200000Error: expected "1023822 ", got "1022881 "
7May 28, 2024 22:4200000Error: expected "1025786 ", got "1024813 "
8May 28, 2024 22:4200000Error: expected "1020236 ", got "1019243 "
9May 28, 2024 22:4200000Error: expected "1021103 ", got "1020122 "
10May 28, 2024 22:4200000Error: expected "1020229 ", got "1019223 "
11May 28, 2024 22:4200000Error: expected "1022662 ", got "1021645 "
12May 28, 2024 22:4200000Error: expected "1022809 ", got "1021823 "
13May 28, 2024 22:4200000Error: expected "1024578 ", got "1023581 "
14May 28, 2024 22:4200000Error: expected "1019752 ", got "1018745 "