結果
| 問題 | No.3035 文字列のみの反転 |
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2025-02-28 21:22:34 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 114 ms / 2,000 ms |
| コード長 | 191 bytes |
| 記録 | |
| コンパイル時間 | 244 ms |
| コンパイル使用メモリ | 96,228 KB |
| 実行使用メモリ | 85,148 KB |
| 最終ジャッジ日時 | 2026-07-06 11:28:23 |
| 合計ジャッジ時間 | 3,694 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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="")