結果

問題 No.327 アルファベット列
ユーザー mbanmban
提出日時 2016-12-23 17:40:11
言語 C#(csc)
(csc 3.9.0)
結果
RE  
実行時間 -
コード長 537 bytes
コンパイル時間 937 ms
コンパイル使用メモリ 104,320 KB
実行使用メモリ 18,944 KB
最終ジャッジ日時 2024-05-08 12:52:23
合計ジャッジ時間 3,729 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 26 ms
18,688 KB
testcase_01 RE -
testcase_02 AC 26 ms
18,944 KB
testcase_03 RE -
testcase_04 RE -
testcase_05 AC 27 ms
18,688 KB
testcase_06 RE -
testcase_07 AC 27 ms
18,560 KB
testcase_08 AC 27 ms
18,816 KB
testcase_09 AC 26 ms
18,816 KB
testcase_10 AC 27 ms
18,816 KB
testcase_11 AC 27 ms
18,560 KB
testcase_12 AC 27 ms
18,816 KB
testcase_13 AC 26 ms
18,816 KB
testcase_14 AC 27 ms
18,816 KB
testcase_15 AC 27 ms
18,560 KB
testcase_16 AC 27 ms
18,688 KB
testcase_17 AC 27 ms
18,944 KB
testcase_18 AC 26 ms
18,688 KB
testcase_19 AC 27 ms
18,816 KB
testcase_20 AC 26 ms
18,432 KB
testcase_21 AC 26 ms
18,816 KB
testcase_22 RE -
testcase_23 AC 26 ms
18,816 KB
testcase_24 AC 26 ms
18,816 KB
testcase_25 AC 27 ms
18,816 KB
testcase_26 AC 26 ms
18,816 KB
testcase_27 RE -
testcase_28 AC 26 ms
18,816 KB
testcase_29 AC 26 ms
18,688 KB
testcase_30 RE -
testcase_31 AC 26 ms
18,816 KB
testcase_32 AC 26 ms
18,688 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