結果

問題 No.400 鏡
ユーザー QtaroQtaro
提出日時 2016-07-31 20:25:06
言語 Scala(Beta)
(3.3.1)
結果
AC  
実行時間 960 ms / 2,000 ms
コード長 226 bytes
コンパイル時間 7,523 ms
コンパイル使用メモリ 247,136 KB
実行使用メモリ 63,460 KB
最終ジャッジ日時 2023-09-12 01:06:59
合計ジャッジ時間 20,608 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 939 ms
63,168 KB
testcase_01 AC 936 ms
63,460 KB
testcase_02 AC 938 ms
62,904 KB
testcase_03 AC 943 ms
63,096 KB
testcase_04 AC 956 ms
62,992 KB
testcase_05 AC 935 ms
62,796 KB
testcase_06 AC 955 ms
63,064 KB
testcase_07 AC 960 ms
63,116 KB
testcase_08 AC 941 ms
62,760 KB
testcase_09 AC 948 ms
63,332 KB
testcase_10 AC 941 ms
62,924 KB
testcase_11 AC 939 ms
62,896 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

object Main extends App {
  val sc = new java.util.Scanner(System.in)
  val mirror = sc.nextLine.map { case (ch) =>
      ch match {
        case '<' => '>'
        case '>' => '<'
      }
  }.reverse
  mirror.foreach(print)
}
0