Ai giúp em chuyển bài code pascal này sang C++ với ạ. uses crt; var d,g:text; m,s:real; x,y:array[1..10000000]of longint; n,i,j,vt:longint; begin clrscr; assign(d,’input.pas’);reset(d); assign(g,’output.pas’);rewrite(g); readln(d,n); for i:=1 to n do read(d,x[i],y[i]); for i:=1 to n do begin s:=0; for j:=1 to n do s:=s+sqrt(sqr(x[j]-x[i])+sqr(y[j]-y[i])); if s>m then begin vt:=i; m:=s; end; end; writeln(g,vt,’ ‘,m:0:3); close(g); close(d); end. Em cảm ơn
Một khúc sông rộng 300m .một chiếc đò chèo qua sông bị nước đẩy xiên nên phải chèo 350m mới sang đc bờ bên kia . Hỏi dòng nước đã đẩy chiếc đò lệch 1 góc a bao nhiêu độ Bài này dựa theo Tỉ Số Lượng Giác
Một ca nô xuôi dòng từ A đến B rồi lại ngược dòng từ B về A với vận tốc bằng 45km/giờ. Tính quãng đường AB biết vận tốc dòng nước bằng 5km/giờ và thời gian ngược dòng nhiều hơn thời gian xuôi dòng là 24 phút.
Mã đề 124 đề thi Toán năm 2017 Tìm tham số m là số thực của để hàm số y = 1/3x³ - mx² + (m² – 4)x + 3 đạt cực đại tại x = 3. A. m = -7 B. m = 1 C. m = -1 D. m = 5
71. You will never meet anyone more dangerous than Mrs. Jones. → Mr. Jones is the most ………………………………………………… 72. Man has never had such efficient servants as computer. → Computer is the most ………………………………………………… 73. I haven't played football since 2000. → The last time ………………………………………………… 74. I haven't been to HCM city for 2 years. → The last time………………………………………………… 75. I 've never met such a famous person before. → It is the first time………………………………………………… 76. She hasn't seen that boy here before. → It is the first ………………………………………………… 77. She hasn't written to us since last year. → The last time ………………………………………………… 78. She started to learn E 8 years ago. → It’s………………………………………………… 79. He hasn't laughed so much for ages. → It’s ………………………………………………… 80. I haven't enjoyed myself so much for years. → It’s…………………………………………………
giúp e vs ah ,hứa sẽ vote 5* và là câu trl hay nhất
Hợp chất A có công thức phân tử M2X. Tổng số hạt trong A là 116, trong đó số hạt mang điện nhiều hơn số hạt không mang điện là 36. Khối lượng nguyên tử X lớn hơn M là 9. Tổng số 3 loại hạt trong X2- nhiều hơn trong M+ là 17. a) Xác định M, X. b) Cho 2,34g hợp chất A tác dụng với dd M’(NO3)2 thu 2,8662g kết tủa B. Xác định nguyên tử lương M’. c,Nguyên tố M’ có 2 đồng vị Y, Z. Biết tổng số khối là 128, số nguyên tử của đồng vị Y bằng 27/73 số nguyên tử của đồng vị Z. Xác định số khối của Y, Z. (Mình làm đc câu a rồi, giúp mình câu b và c ạ)
siêu gấp luôn mng cíu mình với 60đ ạ
1. Samuel started keeping a diary in 1997. → Samuel has ………………………………………………… 2. We started learning English five years ago. → We have ………………………………………………… 3. I began living in Ho Chi Minh City when I was 8. → I have ………………………………………………… 4. She has taught the children in this remote village for five months. → She started………………………………………………… 5. He has written to me since April. → The last time………………………………………………… 6. She hasn’t had a swim for five years. → She last ………………………………………………… 7. They last talked to each other two months ago. → They haven’t………………………………………………… 8. The last time she saw her elder sister was in 1999. → She hasn’t ………………………………………………… 9. She hasn’t written to me for years. → It’s years………………………………………………… 10. Robert and Catherine have been married for ten ỵears. → It’s ten years ………………………………………………… 11. It’s two weeks since they cleaned their room. → They………………………………………………… 12. It’s over six months since John had his hair cut. → John ………………………………………………… 13. How long is it since you rode a bicycle? → When ………………………………………………… 14. How long is it since he wrote to you? → When………………………………………………… 15. When did he last talk to you? → How long ………………………………………………… 16. When did you last telephone him? → Hong long ………………………………………………… 17. We have never eaten this kind of food before. → It’s the ………………………………………………… 18. This is the first time I have seen this film. → I have never………………………………………………… 19. This is the first time he went abroad. → He hasn’t ………………………………………………… 20. She started driving 1 month ago. → She has ………………………………………………… 21. We began eating when it started to rain. → We have ………………………………………………… 22. I last had my hair cut when I left her. → I haven’t ………………………………………………… 23. The last time she kissed me was 5 months ago. → She hasn’t………………………………………………… 24. It is a long time since we last met. → We haven’t………………………………………………… 25. When did you have it ? → How long………………………………………………… 26. This is the first time I had such a delicious meal . → I haven’t………………………………………………… 27. I haven’t seen him for 8 days. → The last………………………………………………… 28. I haven’t taken a bath since Monday. → It is………………………………………………… 29. It's 2 years since I had a future. → I have ………………………………………………… 30. It's 2 months since he earned any money. → He has ………………………………………………… 31. He last shaved the day before yesterday. → He hasn’t ………………………………………………… 32. I last drank champagne at my brother's wedding. → I haven’t ………………………………………………… 33. It's 2 years since I was last in Rome. → I haven’t………………………………………………… 34. I saw Tom last on his wedding day. 35. I last ate raw fish when I was in Japan. → I haven’t ………………………………………………… 36. It's years since Mary last spoke French. → Mary hasn’t………………………………………………… 37. It's ten weeks since since I last had a good night sleep. → I haven’t………………………………………………… 38. He last paid taxes in 1970. → He hasn’t………………………………………………… 39. I last ate meat 5 years ago. → I haven’t………………………………………………… 40. It's 3 months since since the windows were cleaned. → The windows haven’t ………………………………………………… 41. It's years since I took photographs. → I haven’t ………………………………………………… 42. I last watched TV on new year's day. → I haven’t ………………………………………………… 43. It's 3 months since he wrote to me. → He hasn’t ………………………………………………… 44. The last time I was aboard was in the summer of 1978. → I haven’t ………………………………………………… 45. It's ten years since that house was lived in. → That house ………………………………………………… 46. I haven't seen him for 2 months. → I last ………………………………………………… 47. I haven't been to a concert for over a year. → The last time ………………………………………………… 48. The last time I really enjoyed myself was your birthday party. → I haven’t ………………………………………………… 49. It;s nearly 20 years since my father saw his brother. → My father hasn’t…………………………………………………
vẽ anime girl đg ngồi đọc sách vẽ quang cảnh trong nhà đẹp và cute vô nhoa
Loga.vn - Cộng Đồng Luyện Thi Trực Tuyến