結果

問題 No.327 アルファベット列
ユーザー mbanmban
提出日時 2016-12-23 17:40:11
言語 C#(csc)
(csc 3.9.0)
結果
RE  
実行時間 -
コード長 537 bytes
コンパイル時間 2,237 ms
コンパイル使用メモリ 103,848 KB
実行使用メモリ 23,680 KB
最終ジャッジ日時 2023-08-21 07:35:54
合計ジャッジ時間 7,838 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 56 ms
21,516 KB
testcase_01 RE -
testcase_02 AC 58 ms
23,680 KB
testcase_03 RE -
testcase_04 RE -
testcase_05 AC 59 ms
21,548 KB
testcase_06 RE -
testcase_07 AC 58 ms
21,676 KB
testcase_08 AC 58 ms
21,664 KB
testcase_09 AC 57 ms
21,544 KB
testcase_10 AC 57 ms
21,680 KB
testcase_11 AC 58 ms
21,484 KB
testcase_12 AC 57 ms
23,584 KB
testcase_13 AC 59 ms
23,612 KB
testcase_14 AC 57 ms
21,556 KB
testcase_15 AC 57 ms
23,528 KB
testcase_16 AC 58 ms
23,548 KB
testcase_17 AC 57 ms
21,532 KB
testcase_18 AC 58 ms
21,516 KB
testcase_19 AC 59 ms
19,712 KB
testcase_20 AC 59 ms
21,656 KB
testcase_21 AC 58 ms
19,432 KB
testcase_22 RE -
testcase_23 AC 58 ms
21,556 KB
testcase_24 AC 58 ms
21,452 KB
testcase_25 AC 58 ms
19,528 KB
testcase_26 AC 57 ms
21,628 KB
testcase_27 RE -
testcase_28 AC 58 ms
21,624 KB
testcase_29 AC 58 ms
21,576 KB
testcase_30 RE -
testcase_31 AC 58 ms
23,536 KB
testcase_32 AC 58 ms
23,528 KB
testcase_33 RE -
testcase_34 RE -
testcase_35 RE -
testcase_36 RE -
testcase_37 RE -
testcase_38 RE -
testcase_39 RE -
testcase_40 RE -
testcase_41 RE -
testcase_42 RE -
testcase_43 RE -
testcase_44 RE -
testcase_45 RE -
testcase_46 RE -
testcase_47 RE -
testcase_48 RE -
testcase_49 RE -
testcase_50 RE -
testcase_51 RE -
testcase_52 RE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Text;
using System.Text.RegularExpressions;
using System.Linq;

class Magatro
{
    static void Main()
    {
        string ans = "";
        long N = long.Parse(Console.ReadLine())+1;
        char[] D = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".ToArray();
        while (N > 0)
        {
            long q = N % 26;
            ans = D[q - 1] + ans;
            N /= 26;
        }
        Console.WriteLine(ans);
    }

}

0