結果

問題 No.400 鏡
ユーザー len_prog
提出日時 2016-12-06 11:27:50
言語 Python2
(2.7.18)
結果
AC  
実行時間 13 ms / 2,000 ms
コード長 370 bytes
コンパイル時間 54 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,400 KB
最終ジャッジ日時 2024-11-28 01:54:41
合計ジャッジ時間 732 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

# -*- coding: utf-8 -*-
from __future__ import print_function
from __future__ import division
from __future__ import unicode_literals
import math
import itertools

def solve():
    S = raw_input()
    reversed = S[::-1]

    for ch in reversed:
        output = "<" if ch == ">" else ">"
        print(output, end="")
    print()

if __name__ == '__main__':
    solve()
0