結果
| 問題 | No.327 アルファベット列 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-12-24 22:11:25 |
| 言語 | C++11 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 297 bytes |
| 記録 | |
| コンパイル時間 | 346 ms |
| コンパイル使用メモリ | 78,976 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2026-08-30 13:18:45 |
| 合計ジャッジ時間 | 2,617 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
}