結果

問題 No.400 鏡
ユーザー cande398cande398
提出日時 2017-10-08 23:43:00
言語 Java21
(openjdk 21)
結果
AC  
実行時間 116 ms / 2,000 ms
コード長 256 bytes
コンパイル時間 1,876 ms
コンパイル使用メモリ 72,428 KB
実行使用メモリ 56,332 KB
最終ジャッジ日時 2023-08-10 20:24:42
合計ジャッジ時間 4,180 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 114 ms
56,000 KB
testcase_01 AC 114 ms
55,756 KB
testcase_02 AC 115 ms
55,720 KB
testcase_03 AC 114 ms
56,184 KB
testcase_04 AC 114 ms
55,688 KB
testcase_05 AC 114 ms
55,748 KB
testcase_06 AC 111 ms
56,288 KB
testcase_07 AC 115 ms
56,120 KB
testcase_08 AC 114 ms
56,148 KB
testcase_09 AC 113 ms
55,844 KB
testcase_10 AC 116 ms
55,688 KB
testcase_11 AC 115 ms
56,332 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