結果
問題 |
No.327 アルファベット列
|
ユーザー |
|
提出日時 | 2015-12-24 22:13:06 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 289 bytes |
コンパイル時間 | 605 ms |
コンパイル使用メモリ | 60,972 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-18 23:00:03 |
合計ジャッジ時間 | 1,920 ms |
ジャッジサーバーID (参考情報) |
judge1 / 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'); n = n / 26; } return 0; }