結果

問題 No.400 鏡
ユーザー uafr_csuafr_cs
提出日時 2016-07-22 22:30:32
言語 Java21
(openjdk 21)
結果
AC  
実行時間 114 ms / 2,000 ms
コード長 404 bytes
コンパイル時間 1,783 ms
コンパイル使用メモリ 75,092 KB
実行使用メモリ 41,448 KB
最終ジャッジ日時 2024-04-24 02:20:50
合計ジャッジ時間 3,749 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 97 ms
40,036 KB
testcase_01 AC 93 ms
40,176 KB
testcase_02 AC 102 ms
41,096 KB
testcase_03 AC 105 ms
40,900 KB
testcase_04 AC 95 ms
40,320 KB
testcase_05 AC 114 ms
41,172 KB
testcase_06 AC 104 ms
41,024 KB
testcase_07 AC 98 ms
40,888 KB
testcase_08 AC 107 ms
41,448 KB
testcase_09 AC 106 ms
40,876 KB
testcase_10 AC 106 ms
40,880 KB
testcase_11 AC 103 ms
40,996 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Arrays;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.Scanner;
import java.util.Set;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		for(final char chs : new StringBuilder(sc.next()).reverse().toString().toCharArray()){
			System.out.print(chs == '<' ? '>' : '<');
		}
		System.out.println();
		
	}

}
0