結果

問題 No.494 yukicoder
ユーザー swdamdrswdamdr
提出日時 2017-05-22 13:58:22
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 24 ms / 2,000 ms
コード長 465 bytes
コンパイル時間 910 ms
コンパイル使用メモリ 108,200 KB
実行使用メモリ 23,432 KB
最終ジャッジ日時 2023-10-19 13:36:39
合計ジャッジ時間 1,893 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 22 ms
23,432 KB
testcase_01 AC 22 ms
23,432 KB
testcase_02 AC 22 ms
23,432 KB
testcase_03 AC 23 ms
23,432 KB
testcase_04 AC 23 ms
23,432 KB
testcase_05 AC 22 ms
23,432 KB
testcase_06 AC 23 ms
23,432 KB
testcase_07 AC 23 ms
23,432 KB
testcase_08 AC 24 ms
23,432 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.Linq;
using System.Collections.Generic;

class Program
{
    static void Main(string[] args)
    {
        string S = Console.ReadLine();
        string[] moji = { "y", "u", "k", "i", "c", "o", "d", "e", "r" };
        int i = 0;

        for (; i < S.Length; i++)
        {
            if(S[i] == '?')
            {
                break;
            }
        }

        Console.WriteLine(moji[i]);
        Console.ReadLine();
    }

}
0