結果

問題 No.400 鏡
ユーザー curryudon08curryudon08
提出日時 2020-06-15 16:51:18
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 49 ms / 2,000 ms
コード長 419 bytes
コンパイル時間 1,989 ms
コンパイル使用メモリ 103,536 KB
実行使用メモリ 22,600 KB
最終ジャッジ日時 2023-09-16 10:28:38
合計ジャッジ時間 3,426 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 49 ms
22,600 KB
testcase_01 AC 48 ms
22,568 KB
testcase_02 AC 48 ms
20,628 KB
testcase_03 AC 49 ms
20,480 KB
testcase_04 AC 48 ms
22,488 KB
testcase_05 AC 49 ms
20,616 KB
testcase_06 AC 48 ms
20,440 KB
testcase_07 AC 48 ms
20,632 KB
testcase_08 AC 47 ms
20,560 KB
testcase_09 AC 48 ms
20,440 KB
testcase_10 AC 49 ms
20,472 KB
testcase_11 AC 48 ms
20,528 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

namespace _0400
{
    class Program
    {
        static void Main(string[] args)
        {
            var s = Console.ReadLine();

            for(var i = s.Length - 1; i >= 0; i--){
                if(s[i] == '<'){
                    Console.Write(">");
                }else{
                    Console.Write("<");
                }
            }
            Console.Write("\n");
        }
    }
}
0