結果
| 問題 |
No.3035 文字列のみの反転
|
| コンテスト | |
| ユーザー |
回転
|
| 提出日時 | 2025-02-28 23:27:53 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 38 ms / 2,000 ms |
| コード長 | 137 bytes |
| コンパイル時間 | 273 ms |
| コンパイル使用メモリ | 82,776 KB |
| 実行使用メモリ | 53,504 KB |
| 最終ジャッジ日時 | 2025-02-28 23:27:55 |
| 合計ジャッジ時間 | 1,912 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
ソースコード
S = input()
small = [i for i in S if not i.isnumeric()]
num = [i for i in S if i.isnumeric()]
print("".join(small[::-1]) + "".join(num))
回転