結果

問題 No.400 鏡
ユーザー Natsume-MNatsume-M
提出日時 2016-12-09 17:38:22
言語 Java21
(openjdk 21)
結果
AC  
実行時間 115 ms / 2,000 ms
コード長 237 bytes
コンパイル時間 1,948 ms
コンパイル使用メモリ 71,404 KB
実行使用メモリ 56,336 KB
最終ジャッジ日時 2023-08-19 03:17:37
合計ジャッジ時間 4,120 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 103 ms
55,976 KB
testcase_01 AC 103 ms
55,840 KB
testcase_02 AC 100 ms
56,040 KB
testcase_03 AC 102 ms
55,708 KB
testcase_04 AC 100 ms
55,912 KB
testcase_05 AC 101 ms
55,972 KB
testcase_06 AC 104 ms
55,552 KB
testcase_07 AC 115 ms
56,336 KB
testcase_08 AC 114 ms
55,492 KB
testcase_09 AC 105 ms
55,708 KB
testcase_10 AC 100 ms
55,632 KB
testcase_11 AC 99 ms
56,048 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
class y400 {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		for (int i=s.length(); i>0; i--)	System.out.print(s.charAt(i-1)=='>'?'<':'>');
		sc.close();
	}
}
0