結果

問題 No.400 鏡
ユーザー bluemeganebluemegane
提出日時 2018-10-24 07:56:10
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 51 ms / 2,000 ms
コード長 293 bytes
コンパイル時間 2,186 ms
コンパイル使用メモリ 101,508 KB
実行使用メモリ 22,512 KB
最終ジャッジ日時 2023-08-12 06:44:48
合計ジャッジ時間 3,596 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 51 ms
20,608 KB
testcase_01 AC 49 ms
20,580 KB
testcase_02 AC 49 ms
20,456 KB
testcase_03 AC 49 ms
20,584 KB
testcase_04 AC 51 ms
20,420 KB
testcase_05 AC 50 ms
20,368 KB
testcase_06 AC 50 ms
20,464 KB
testcase_07 AC 49 ms
20,564 KB
testcase_08 AC 50 ms
22,512 KB
testcase_09 AC 49 ms
20,492 KB
testcase_10 AC 49 ms
20,468 KB
testcase_11 AC 49 ms
22,512 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 Hello
{
    public static void Main()
    {
        var ans = "";
        var s = Console.ReadLine().Trim();
        for (int i = s.Length-1; i >= 0; i--)
            if (s[i] == '<') ans += '>';
            else ans += '<';
        Console.WriteLine(ans);
    }
}
0