Viết CT nhập số n, kiểm tra n: 1) Có phải là số phi nguyên tố hay không. Biết số phi nguyên tố là số mà xóa đi ngẫu nhiên bao nhiêu chữ số từ phải sang số đó vẫn không là số nguyên tố. 2) Có thuộc dãy fibonacy hay không. Biết 2 phần tử đầu của dãy là số 1, các phần tử từ thứ 3 trở đi bằng tổng 2 phần tử trước đó. Mí bạn chuyên Tin ui giúp viết ct hộ mik với, hứa sẽ vote5s đầy đủ cho câu trả lời hay nhất ạ!! Cần trước 8h sáng mai ạ (17/07)!

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

71. I like looking at these pictures, but I ........enough by lunch-time. A. should have B. will have C. will have had D. have 72. John .........tennis once or twice a week. A. usually play B. is usually playing C. usually plays D. have usually played 73. I........for Christine. Do you know where she is? A. look B. looked C. am looking D. looks 74. At 5 o’clock yesterday evening, I ........my clothes. A. am ironing B. have ironed C. ironed D. was ironing 75. I ..........along the street when I suddenly heard footsteps behind me. A. was walking B. am walking C. walk D. walked 76. She ..........German for two years. A. has learned B. is learning C. learns D. learn 77. The earth ..........round the sun. A. go B. has gone C. went D. goes 78. Mathematics ...........very interesting to me. A. are B. have been C. were D. is 79. After he .............the house, he wrote a letter. A. cleans B. had cleaned C. has cleaned D. was cleaning 80. There are no more appeals. We .........them all. A. had eaten B. eat C. ate D. have eaten 81. Mark was listening to music while his sister ............a book. A. read B. reads C. is reading D. was reading 82. They..........serving meals by the time we get to the restaurant. A. will stop B. stopped C. are stopping D. will have stopped 83. Tomorrow I...........my grandparents. A. am going to visit B. will have visited C. have visited D. visit 84.Ted and Amy ...........for 24 years. A. married B. have been married C. were married D. has been married 85. I think the weather .............better later. A. will be B. be C. is D. has been 86. I was sad when I sold my car. I ..........it for a long time. A. am running B. were running C. had been running D. have been running 87. .............a car when they were living in London? A. Have they B. Did they have C. Were they having D. Have they had 88. She ..............angry when she knows this. A. shall be B. has been C. will have been D. will be 89. When their first child was born, they ..........married for three years. A. have been married B. had been married C. will be married D. will have been married 90. Sorry, I can’t stop now. I ......... to an important appointment. A. go B. am going C. have gone D. was going