Yes. Congruency marks indicates that the triangle is supposed to be an equilateral triangle. However, the existence of the right angle automatically disproves this, therefore prompting the use of the pythagoras theory.
If we eliminate the congruency marks, the problem would be solved. it is impossible anyways for an equilateral triangle to have a 90-degree angle.