Pythagorean's Challenge

The code I write compiles successfully, but its showing time complexity error for final submission. Even though the output is as desired.

shall i paste the code here?

Hi @Ajendra-Singh-1701991129916266
Please share the code