結果

問題 No.1217 せしすせそ
ユーザー 1644吉田英陽1644吉田英陽
提出日時 2020-11-03 21:49:23
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 50 ms / 2,000 ms
コード長 790 bytes
コンパイル時間 3,732 ms
コンパイル使用メモリ 104,352 KB
実行使用メモリ 22,524 KB
最終ジャッジ日時 2023-09-29 15:01:35
合計ジャッジ時間 4,898 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 48 ms
20,384 KB
testcase_01 AC 48 ms
20,492 KB
testcase_02 AC 48 ms
20,528 KB
testcase_03 AC 48 ms
20,352 KB
testcase_04 AC 49 ms
22,524 KB
testcase_05 AC 49 ms
20,472 KB
testcase_06 AC 48 ms
22,468 KB
testcase_07 AC 49 ms
20,460 KB
testcase_08 AC 49 ms
22,360 KB
testcase_09 AC 49 ms
22,428 KB
testcase_10 AC 50 ms
20,492 KB
testcase_11 AC 49 ms
20,500 KB
testcase_12 AC 49 ms
20,460 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
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.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp92
{
    class Program
    {
        static void Main(string[] args)
        {
            string s = Console.ReadLine();
            string moto = "0";
            string kawa = "9";
            char[] v = new char[]{'a', 'b', 'c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};
            for(int i = 0; i < 26; i++)
            {
                if (v[i] != s[i])
                {
                    moto = s[i].ToString();
                    kawa = v[i].ToString();
                }
            }
            Console.WriteLine(kawa + "to" + moto);
            Console.ReadLine();
        }
    }
}
0