結果

問題 No.400 鏡
ユーザー cande398cande398
提出日時 2017-10-08 23:43:00
言語 Java21
(openjdk 21)
結果
AC  
実行時間 117 ms / 2,000 ms
コード長 256 bytes
コンパイル時間 2,071 ms
コンパイル使用メモリ 74,388 KB
実行使用メモリ 41,540 KB
最終ジャッジ日時 2024-04-28 13:38:37
合計ジャッジ時間 3,673 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 107 ms
41,540 KB
testcase_01 AC 103 ms
41,168 KB
testcase_02 AC 115 ms
41,372 KB
testcase_03 AC 117 ms
41,032 KB
testcase_04 AC 106 ms
41,092 KB
testcase_05 AC 106 ms
41,508 KB
testcase_06 AC 107 ms
41,080 KB
testcase_07 AC 95 ms
40,076 KB
testcase_08 AC 109 ms
41,180 KB
testcase_09 AC 105 ms
41,072 KB
testcase_10 AC 95 ms
40,276 KB
testcase_11 AC 111 ms
41,156 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main{
  public static void main(String[] args){
    String[] str = new Scanner(System.in).next().split("");
    for(int i=str.length-1;i>-1;i--)System.out.print(str[i].equals(">")?"<":">");
    System.out.println();
  }
}
0