結果
問題 |
No.327 アルファベット列
|
ユーザー |
![]() |
提出日時 | 2016-01-11 09:54:04 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 225 bytes |
コンパイル時間 | 717 ms |
コンパイル使用メモリ | 55,128 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-19 18:44:26 |
合計ジャッジ時間 | 1,896 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 1 WA * 49 |
ソースコード
#include <iostream> #include <string> using namespace std; int main() { long n; cin>>n; string res(1, 'A'+n%26); n/=26; while (n>0) { res+=char(n%26-1+'A'); n/=26; } cout<<res<<endl; }