Related to pythogorus triplets

first two test cases are not running as the programm seems to be run for every number in cluding negatives because i am taing square of that number . I have also tried that with devc++ and its running well with -ve numbers and long integers

@2018kucp1041 hey Lakshit please send your code through cb.lk/ide