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