people liars or trustworthy I have a visitor that meets A and B.We have trustworth and liars.
A declares that he is like B.
B declares that one of them is only trustworth.
So I have solved this exercise with truth table A: trustworthy so p
B: trustworthy  so q (cause he is saying that one of them is trustworth)
I have the table
p        q       p  ^ q
true    true      lie
true     lie      lie 
lie      true     lie
lie      lie      true

from their  statement we have true and true  so both of them are liars.What the visitor assume ?

1)A and B trustworth 2)A trustworth and B liar 3)A liar and B
trustworth 4)both liars

I find 4.both liars
is it?
A: As @user619755 said, you can see:
If A is trustworthy, so it said the truth, therefore B become trustworthy like it and say the truth only, but it contradict with its statement, since there is 2 trustworthy, hence A can't be trustworthy.
If B is liar, its statement become wrong, so A can't be trustworthy, therefore it also its statement become wrong, but it contradict with both of them being like each other (liar), hence B can't be liar.
Now the only condition remains:
A is liar and B is trustworthy, So they aren't like each other, as we expect from liarness of A, also there is just one trustworthy, as we expect from trustworthiness of B. Conditions are compatible. So it's the answer.
