結果

問題 No.3035 文字列のみの反転
ユーザー SPD_9X2
提出日時 2025-02-28 22:19:51
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 155 bytes
コンパイル時間 302 ms
コンパイル使用メモリ 82,364 KB
実行使用メモリ 53,664 KB
最終ジャッジ日時 2025-02-28 22:19:53
合計ジャッジ時間 1,523 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()

x = []
y = []

for c in S:
    if "a" <= c <= "z":
        x.append(c)
    else:
        y.append(c)

x.reverse()

x += y

print (*x,sep="")
0