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 listAug 20, 2022 12:02Bernard TeoBernard TeoScore: 96,148Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 20, 2022 12:0293,8523,161,389,2613,097,114,07202,183,168
2Aug 20, 2022 12:0695,5733,224,697,8703,153,900,43902,179,072
3Aug 20, 2022 12:0396,0483,262,647,1773,169,571,18002,195,456
4Aug 20, 2022 12:0696,0983,236,989,0713,171,219,47202,183,168
5Aug 20, 2022 12:0396,1483,249,033,2693,172,879,98602,187,264
6Aug 20, 2022 12:0396,3293,250,784,6123,178,867,05302,191,360
7Aug 20, 2022 12:0296,3583,241,307,0483,179,805,04902,252,800
8Aug 20, 2022 12:0297,0693,275,506,8733,203,289,06402,191,360
9Aug 20, 2022 12:0697,1093,268,681,8823,204,613,41302,187,264