結果

問題 No.400 鏡
ユーザー miya145592miya145592
提出日時 2023-05-03 16:04:34
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 36 ms / 2,000 ms
コード長 131 bytes
コンパイル時間 131 ms
コンパイル使用メモリ 81,936 KB
実行使用メモリ 53,152 KB
最終ジャッジ日時 2024-05-01 14:20:50
合計ジャッジ時間 1,081 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
52,828 KB
testcase_01 AC 34 ms
51,552 KB
testcase_02 AC 34 ms
52,084 KB
testcase_03 AC 32 ms
52,076 KB
testcase_04 AC 32 ms
52,644 KB
testcase_05 AC 32 ms
53,152 KB
testcase_06 AC 32 ms
52,536 KB
testcase_07 AC 34 ms
52,472 KB
testcase_08 AC 33 ms
52,628 KB
testcase_09 AC 34 ms
53,020 KB
testcase_10 AC 35 ms
51,668 KB
testcase_11 AC 33 ms
52,296 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()
ans = []
for s in S[::-1]:
    if s=="<":
        ans.append(">")
    else:
        ans.append("<")
print("".join(ans))
0