Bài 1: Cho ba điểm A, B, C nằm trên hệ trục tọa độ Đề Các, có tọa độ lần lượt là (XA, YA), (XB, YB), (XC, YC). Tìm khoảng cách lớn nhất d giữa hai điểm trong 3 điểm trên Yêu cầu: Tính giá trị của d. Dữ liệu vào: Từ bàn phím gồm 3 dòng, mỗi dòng chứa hai số nguyên: - Dòng 1 gồm hai số nguyên XA, YA; - Dòng 2 gồm hai số nguyên XB, YB; - Dòng 3 gồm hai số nguyên XC, YC. Dữ liệu ra: Ghi ra màn hình giá trị của d với định dạng d:0:2 Ví dụ: INPUT OUTPUT 0 0 0 1 0 3 3.00

Các câu hỏi liên quan

1. You must do this exercise carefully. …………………………………………............................................................................................................................ 2. Have you sent the Christmas cards to your family? …………………………………………............................................................................................................................ 3. They grow rice in tropical countries. …………………………………………............................................................................................................................ 4. People should stop experiments on animals. …………………………………………............................................................................................................................ 5. Someone gave Mary this present an hour ago. …………………………………………............................................................................................................................ 6. Mary took that book from the desk. ……………………………………………............................................................................................................................ 7. They built our school last year. ……………………………………………............................................................................................................................ 8. The boss will answer your question soon. ……………………………………………............................................................................................................................ 9. They sell jeans all over the world. …………………………………………............................................................................................................................ 10. They sold their house last week. …………………………………………............................................................................................................................ 11. They have found oil in the Antartic. …………………………………………............................................................................................................................ 12. Mr Lam will build a new school in our village. …………………………………………............................................................................................................................ 13. He did this exercise in 30 minutes. …………………………………………............................................................................................................................ 14. Our friends send these postcards to us. …………………………………………............................................................................................................................ 15. My mother wrote that letter. ……………………………………………............................................................................................................................ 16. He is asking me a lot of questions. ……………………………………………............................................................................................................................ 17. She was doing her homework at that time. ……………………………………………............................................................................................................................ 18. My mother has made that cake. ……………………………………………............................................................................................................................ 19. They had prepared a dinner before we came. ……………………………………………............................................................................................................................ 20. My friend can answer this question. ……………………………………………............................................................................................................................ 21. When will you do that work? ……………………………………………............................................................................................................................ 22. The workers are recycling the bottles. ……………………………………………............................................................................................................................ 23. Somebody has taken some of my books away. ……………………………………………............................................................................................................................ 24. They will hold the meeting before May Day. ……………………………………………............................................................................................................................ 25. They must repair the engine of the car. ……………………………………………............................................................................................................................