結果

問題 No.292 芸名
ユーザー abL8ZLsTbFabL8ZLsTbF
提出日時 2016-03-20 11:59:14
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 26 ms / 2,000 ms
コード長 422 bytes
コンパイル時間 891 ms
コンパイル使用メモリ 106,572 KB
実行使用メモリ 24,156 KB
最終ジャッジ日時 2024-04-08 17:15:21
合計ジャッジ時間 1,708 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
24,156 KB
testcase_01 AC 25 ms
24,156 KB
testcase_02 AC 25 ms
24,156 KB
testcase_03 AC 26 ms
24,156 KB
testcase_04 AC 24 ms
24,156 KB
testcase_05 AC 24 ms
24,156 KB
testcase_06 AC 25 ms
24,156 KB
testcase_07 AC 25 ms
24,156 KB
testcase_08 AC 25 ms
24,156 KB
testcase_09 AC 25 ms
24,156 KB
testcase_10 AC 25 ms
24,156 KB
testcase_11 AC 25 ms
24,156 KB
testcase_12 AC 26 ms
24,156 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

public class Program {
    public static void Main() {
        string[] input = Console.ReadLine().Split(' ');
        string name = input[0];
        int[] index = {int.Parse(input[1]), int.Parse(input[2])};
        for (int i = 0; i < name.Length; i++) {
            if (i != index[0] && i != index[1]) {
                Console.Write(name[i]);
            }
        }
        Console.WriteLine();
    }
}
0