結果

問題 No.400 鏡
ユーザー AREIDO2AREIDO2
提出日時 2016-08-22 19:29:34
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 254 bytes
コンパイル時間 77 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,272 KB
最終ジャッジ日時 2024-04-25 11:17:34
合計ジャッジ時間 721 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
6,272 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 11 ms
6,272 KB
testcase_05 AC 11 ms
6,144 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 11 ms
6,144 KB
testcase_11 AC 10 ms
6,272 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python
#coding:UTF-8

#入力値の受け取り
S = raw_input()

#文字数計算
SL = len(S)

S2 = []
#反転処理
for i in range(0,SL):
     if S[i] == "<":
          S2.append(">")
     else:
          S2.append("<")

print "".join(S2)
0