Excel Sheet Column Title
All submissions for this problem are available.Given a positive integer,
N, return its corresponding column title as it appears in an Excel sheet.
1 -> A 2 -> B 3 -> C ... 26 -> Z 27 -> AA 28 -> AB ... 16384 -> XFD
T N1 N2 N3 ... NT
Tis the number of Integers passed, and
NT, etc. are the integers for which you are required to give the result (i.e., Column Title).
Each new line is an individual input, and can be read with subsequent
input()statements in Python (or any alternative command for other languages that reads from the Standard Input or
For each Integer received, immediately output the result to the
STDOUTor Standard Output (eg. using
print()in Python), each on a new line.
7 1 2 3 26 27 28 701
This implies that the input has
7Integers, each on a separate line (lines 2 to 8).
The output for each input integer is on a corresponding line, sequentially.
A B C Z AA AB ZY
|Time Limit:||10 sec|
|Source Limit:||50000 Bytes|
|Languages:||C, CPP14, JAVA, PYTH, PYTH 3.6, JS|
Fetching successful submissions