Cho số nguyên m cùng tập điểm trên mặt phẳng P = {p1, p2, … pN} với mỗi điểm pi được xác định bởi một cặp tọa độ (xi, yi). Thực hiện các công việc sau: - Tạo tập điểm P1 bằng cách Loại bỏ các điểm trùng nhau trong P. Cho biết số điểm còn lại (n1). - Cho biết có thể tạo được tối đa bao nhiêu tam giác với đỉnh là các điểm trong P1 và độ dài mỗi cạnh đề nhỏ hơn hoặc bằng m (n2).

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

3. A: Has George decided what to do when he leaves school? B: Oh, yes. Everything is planned. He _____________ (have) a holiday for a few weeks and then He _____________ (do) a computer programming course 4. You have made an appointment with the dentist for Friday morning Friend: Shall we meet on Friday morning You: I can’t on Friday. I _____________ (go) to the dentist 5. A: Did you post that letter for me? B: Oh, I’m sorry. I completely forgot. I _____________ (do) it now 6. A: What shall we have for dinner? B: I don’t know. I can’t make up my mind A: Come on, hurry up! Make a decision! B: Okay then. We _____________ (have) chicken 7. A: The ceiling in this room doesn’t look very safe, does it? B: No, It looks as if it _____________ (fall) down 8. A: Can I speak to Marco? B: Hold on, I _____________ (get) him 1. When I _________ to him, I _________ him your newsa. talk/give b. will talk/give c. talk/will give d. will talk/will give2. Wait a minute. - _________ the door for youa. I’ll open b. I open c. I’be open d. I’ve opened3. I _________ send the parcel until I hear from youa. will b. won’t c. often d. not4. They are coming here _________ three weeksa. for b. since c. in d. after5. My mother _____ to stay with us next weeka. is coming b. will have come c. comes d. would come6. Andrew and Mary _________ married in Maya. will be b. are going to be c. are getting d. get 8. Our friends _________ meet us at the airport tonighta. are b. are going to c. go to d. will be to9. _________ you lend me your calculator for some minutes, please?a. Should b. Will c. Need d. Must10. Can somebody come and help me? Yes, _________ help youa. I’ll help b. I’m helping c. I will to help d. I help