結果
問題 |
No.400 鏡
|
ユーザー |
|
提出日時 | 2023-06-16 22:54:26 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 55 ms / 2,000 ms |
コード長 | 254 bytes |
コンパイル時間 | 372 ms |
コンパイル使用メモリ | 82,688 KB |
実行使用メモリ | 55,424 KB |
最終ジャッジ日時 | 2024-06-24 15:53:21 |
合計ジャッジ時間 | 1,779 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 8 |
ソースコード
from collections import * from itertools import * from functools import * from heapq import * import sys,math input = sys.stdin.readline S = input()[:-1] S = S.replace('<','.').replace('>','<').replace('.','>') S = list(S) S.reverse() print(''.join(S))