結果

問題 No.400 鏡
ユーザー deepjugglingdeepjuggling
提出日時 2023-06-11 22:40:25
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 64 ms / 2,000 ms
コード長 142 bytes
コンパイル時間 507 ms
コンパイル使用メモリ 86,848 KB
実行使用メモリ 71,504 KB
最終ジャッジ日時 2023-08-31 02:06:50
合計ジャッジ時間 2,101 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
71,248 KB
testcase_01 AC 62 ms
71,344 KB
testcase_02 AC 64 ms
71,504 KB
testcase_03 AC 59 ms
71,360 KB
testcase_04 AC 59 ms
71,336 KB
testcase_05 AC 58 ms
71,324 KB
testcase_06 AC 59 ms
71,412 KB
testcase_07 AC 59 ms
71,256 KB
testcase_08 AC 60 ms
71,472 KB
testcase_09 AC 62 ms
71,324 KB
testcase_10 AC 60 ms
71,392 KB
testcase_11 AC 62 ms
71,340 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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