結果

問題 No.400 鏡
ユーザー CroweaCrowea
提出日時 2019-01-24 15:16:44
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 370 bytes
コンパイル時間 806 ms
コンパイル使用メモリ 63,432 KB
実行使用メモリ 24,608 KB
最終ジャッジ日時 2023-10-14 09:38:40
合計ジャッジ時間 1,891 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
20,500 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 43 ms
20,492 KB
testcase_05 AC 44 ms
20,556 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 44 ms
20,488 KB
testcase_11 AC 42 ms
20,412 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;

class Program
{
    const char L_Arrow = '<';
    const char R_Arrow = '>';
    static void Main(string[] args)
    {
        var input = Console.ReadLine().ToCharArray();
        for (int i=0; i<input.Length; i++)
        {
            input[i] = (input[i] == L_Arrow) ? R_Arrow : L_Arrow;
        }
        Console.WriteLine(new string(input));
    }
}
0