結果
問題 | No.400 鏡 |
ユーザー |
|
提出日時 | 2021-03-24 16:52:51 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 40 ms / 2,000 ms |
コード長 | 947 bytes |
コンパイル時間 | 197 ms |
コンパイル使用メモリ | 12,800 KB |
実行使用メモリ | 12,032 KB |
最終ジャッジ日時 | 2024-11-26 23:17:46 |
合計ジャッジ時間 | 1,626 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 8 |
ソースコード
import sysfrom collections import deque, defaultdictfrom copy import deepcopyfrom bisect import bisect_left, bisect_right, insort_left, insort_rightfrom heapq import heapify, heappop, heappushfrom itertools import product, permutations, combinations, combinations_with_replacementfrom functools import reducefrom math import gcd, sin, cos, tan, asin, acos, atan, degrees, radians, ceil, floor, log, sqrt, ceil, floor, pi, hypotfrom string import ascii_lowercasefrom decimal import Decimalsys.setrecursionlimit(1000000)INF = 10**18MOD = 10**9+7# MOD = 998244353yes="Yes"no="No"from random import randintdef II():return int(input())def SI():return str(input())def MI():return map(int,input().split())def MS():return map(str,input().split())def LI():return list(map(int,input().split()))def LS():return list(map(str,input().split()))s=SI()[::-1]t=""for i in s:if i=="<":t+=">"else:t+="<"print(t)