結果
問題 | No.3035 文字列のみの反転 |
ユーザー |
👑 |
提出日時 | 2025-02-28 21:22:34 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 55 ms / 2,000 ms |
コード長 | 191 bytes |
コンパイル時間 | 153 ms |
コンパイル使用メモリ | 82,584 KB |
実行使用メモリ | 66,100 KB |
最終ジャッジ日時 | 2025-02-28 21:22:40 |
合計ジャッジ時間 | 1,595 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
ソースコード
from string import ascii_lowercase S = list(input()) A, B = [], [] for s in S: if s in ascii_lowercase: A.append(s) else: B.append(s) print(*(A[::-1] + B), sep="")