سلام
والا من داشتم برنامه مینوشتم ,, برنامم هم کاملا درسته از لحاظ اجرایی ولی تو نوع نمایش ارور میده تستر :|
اگه کسی میدونه چجوری درستش کنم یا ترجمه دقیقی از این متن میفهمه بهم بگه لظفا
مرسی
Input
Standard input will contain multiple test cases. The first line of the input is a single integer T (1 <= T <= 50) which is the number of test cases. T test cases follow, each preceded by a single blank line.
Each test case contains 4 lines for the coordinates of the four distinct vertices that are picked. Each line contains the x and y coordinates separated by a single space (0 < x, y < 1,000). But please notice that the coordinates are not necessarily given in either clockwise or counterclockwise order for a square.
Output
Results should be directed to standard output. Start each case with "Case #:" on a single line, where # is the case number starting from 1. Two consecutive cases should be separated by a single blank line. No blank line should be produced after the last test case.
The output should be either "Yes" or "No", indicating whether or not the four given positions can form a square.
اینم کد من ( البته قسمتای خروجیشو فقط چک کنید چون منظق برنامه درسته)
کد:
برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید
البته اخرشو اینجوری هم امتحان کردم :|
کد:
برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید