Bài dễ cho anh em luyện tay. Nhập vào 2 số n,m. Ta có T=1^2 + 2^2 + 3^2 ... + n^2. Tính: T div 10 và T mod 10. Giới hạn: n<=10^18; m<=10^18. Ngôn ngữ nào cũng được nhé.

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

1. “ Did Mr Brown send the potatoes to you?” she asked. - She asked....................................................................... 2. “Don’t get your shoes dirty, boys,” she said. - She told.......................................................................... 3. “What do you want for lunch today, Peter?” Mary asked. - Mary asked....................................................................... 4. “Can I borrow your typewriter, Janet?” asked Peter. - Peter asked if ....................................................................... 5. “Why didn’t I get a computer before?” thought the office manager. - The office manager wondered............................................................ 6. “You had better not lend him any more money, Elizabeth,’’ said John. - John advised Elizabeth........................................................................ 7. “You stole my best cassette, Amanda!” said John. - John accused....................................................................................... 8. “ You damaged my bicycle, John!” said Mary. - Mary accused...................................................................................... 9. “When was your little boy born?” said the nurse to Mrs. Bingley. - The nurse asked Mrs. Bingley............................................................... 10. “You should take more exercise, Mr. Robert,” the doctor said. - The doctor advised................................................................................