結果

問題 No.400 鏡
ユーザー lam6er
提出日時 2025-03-20 20:30:53
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 39 ms / 2,000 ms
コード長 140 bytes
コンパイル時間 251 ms
コンパイル使用メモリ 82,976 KB
実行使用メモリ 53,620 KB
最終ジャッジ日時 2025-03-20 20:32:04
合計ジャッジ時間 1,334 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

s = input().strip()
reversed_s = s[::-1]
result = []
for c in reversed_s:
    result.append('>' if c == '<' else '<')
print(''.join(result))
0