結果
問題 |
No.327 アルファベット列
|
ユーザー |
|
提出日時 | 2015-12-24 22:11:25 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 297 bytes |
コンパイル時間 | 1,638 ms |
コンパイル使用メモリ | 60,776 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-18 23:00:00 |
合計ジャッジ時間 | 2,343 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | WA * 50 |
ソースコード
#include <string> #include <iostream> #include <cmath> #include <fstream> using namespace std; typedef long long int ll; int main() { ll n; cin >> n; if (n == 0) { cout << 'A' << endl; return 0; } while (n > 0) { cout << (char) (n % 26 + 'A') << endl; n = n / 26; } return 0; }