結果

問題 No.400 鏡
ユーザー QtaroQtaro
提出日時 2016-07-31 20:33:09
言語 Scala(Beta)
(3.4.0)
結果
AC  
実行時間 1,018 ms / 2,000 ms
コード長 152 bytes
コンパイル時間 9,098 ms
コンパイル使用メモリ 257,864 KB
実行使用メモリ 63,196 KB
最終ジャッジ日時 2023-09-12 01:07:25
合計ジャッジ時間 22,828 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,018 ms
62,900 KB
testcase_01 AC 1,009 ms
62,880 KB
testcase_02 AC 1,004 ms
62,940 KB
testcase_03 AC 995 ms
62,920 KB
testcase_04 AC 995 ms
62,780 KB
testcase_05 AC 1,009 ms
62,976 KB
testcase_06 AC 1,008 ms
63,008 KB
testcase_07 AC 1,006 ms
63,032 KB
testcase_08 AC 1,002 ms
62,852 KB
testcase_09 AC 1,001 ms
63,024 KB
testcase_10 AC 988 ms
62,876 KB
testcase_11 AC 996 ms
63,196 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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