In the popular spreadsheets systems (for example, in Excel) the follow dịch - In the popular spreadsheets systems (for example, in Excel) the follow Việt làm thế nào để nói

In the popular spreadsheets systems

In the popular spreadsheets systems (for example, in Excel) the following numeration of columns is used. The first column has number A, the second — number B, etc. till column 26 that is marked by Z. Then there are two-letter numbers: column 27 has number AA, 28 — AB, column 52 is marked by AZ. After ZZ there follow three-letter numbers, etc.

The rows are marked by integer numbers starting with 1. The cell name is the concatenation of the column and the row numbers. For example, BC23 is the name for the cell that is in column 55, row 23.

Sometimes another numeration system is used: RXCY, where X and Y are integer numbers, showing the column and the row numbers respectfully. For instance, R23C55 is the cell from the previous example.

Your task is to write a program that reads the given sequence of cell coordinates and produce each item written according to the rules of another numeration system.

Input
The first line of the input contains integer number n (1 ≤ n ≤ 105), the number of coordinates in the test. Then there follow n lines, each of them contains coordinates. All the coordinates are correct, there are no cells with the column and/or the row numbers larger than 106 .

Output
Write n lines, each line should contain a cell coordinates in the other numeration system.
0/5000
Từ: -
Sang: -
Kết quả (Việt) 1: [Sao chép]
Sao chép!
In the popular spreadsheets systems (for example, in Excel) the following numeration of columns is used. The first column has number A, the second — number B, etc. till column 26 that is marked by Z. Then there are two-letter numbers: column 27 has number AA, 28 — AB, column 52 is marked by AZ. After ZZ there follow three-letter numbers, etc.The rows are marked by integer numbers starting with 1. The cell name is the concatenation of the column and the row numbers. For example, BC23 is the name for the cell that is in column 55, row 23.Sometimes another numeration system is used: RXCY, where X and Y are integer numbers, showing the column and the row numbers respectfully. For instance, R23C55 is the cell from the previous example.Your task is to write a program that reads the given sequence of cell coordinates and produce each item written according to the rules of another numeration system.InputThe first line of the input contains integer number n (1 ≤ n ≤ 105), the number of coordinates in the test. Then there follow n lines, each of them contains coordinates. All the coordinates are correct, there are no cells with the column and/or the row numbers larger than 106 .OutputWrite n lines, each line should contain a cell coordinates in the other numeration system.
đang được dịch, vui lòng đợi..
Kết quả (Việt) 2:[Sao chép]
Sao chép!
Trong hệ thống các bảng tính phổ biến (ví dụ, trong Excel) thì thù sau đây của các cột được sử dụng. Cột đầu tiên có số A, thứ hai - số B, vv cho đến cột 26 được đánh dấu bởi Z. Sau đó, có số có hai chữ: cột 27 có số AA, 28 - AB, cột 52 được đánh dấu bởi AZ. Sau khi ZZ có theo số ba chữ, vv Các hàng được đánh dấu bằng số nguyên bắt đầu với 1. Tên di động là nối của các cột và số hàng. Ví dụ, BC23 là tên dành cho ô đó là trong cột 55, hàng 23. Đôi khi một hệ thống đếm được sử dụng: RXCY, trong đó X và Y là số nguyên, cho thấy các cột và số hàng trân trọng. Ví dụ, R23C55 là tế bào từ các ví dụ trước. Nhiệm vụ của bạn là viết một chương trình đọc trình tự nhất định tọa độ tế bào và sản xuất từng mặt hàng bằng văn bản theo các quy tắc của một hệ thống đếm. Input Dòng đầu tiên của đầu vào có chứa số nguyên số n (1 ≤ n ≤ 105), số lượng các tọa độ trong thử nghiệm. Sau đó làm theo n dòng, mỗi dòng của chúng chứa tọa độ. Tất cả các tọa độ là chính xác, không có tế bào với các cột và / hoặc số dòng lớn hơn 106. Output Viết n dòng, mỗi dòng chứa một tế bào độ trong hệ thống đếm khác.











đang được dịch, vui lòng đợi..
 
Các ngôn ngữ khác
Hỗ trợ công cụ dịch thuật: Albania, Amharic, Anh, Armenia, Azerbaijan, Ba Lan, Ba Tư, Bantu, Basque, Belarus, Bengal, Bosnia, Bulgaria, Bồ Đào Nha, Catalan, Cebuano, Chichewa, Corsi, Creole (Haiti), Croatia, Do Thái, Estonia, Filipino, Frisia, Gael Scotland, Galicia, George, Gujarat, Hausa, Hawaii, Hindi, Hmong, Hungary, Hy Lạp, Hà Lan, Hà Lan (Nam Phi), Hàn, Iceland, Igbo, Ireland, Java, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Kurd, Kyrgyz, Latinh, Latvia, Litva, Luxembourg, Lào, Macedonia, Malagasy, Malayalam, Malta, Maori, Marathi, Myanmar, Mã Lai, Mông Cổ, Na Uy, Nepal, Nga, Nhật, Odia (Oriya), Pashto, Pháp, Phát hiện ngôn ngữ, Phần Lan, Punjab, Quốc tế ngữ, Rumani, Samoa, Serbia, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenia, Somali, Sunda, Swahili, Séc, Tajik, Tamil, Tatar, Telugu, Thái, Thổ Nhĩ Kỳ, Thụy Điển, Tiếng Indonesia, Tiếng Ý, Trung, Trung (Phồn thể), Turkmen, Tây Ban Nha, Ukraina, Urdu, Uyghur, Uzbek, Việt, Xứ Wales, Yiddish, Yoruba, Zulu, Đan Mạch, Đức, Ả Rập, dịch ngôn ngữ.

Copyright ©2025 I Love Translation. All reserved.

E-mail: