結果
問題 | No.3035 文字列のみの反転 |
ユーザー |
![]() |
提出日時 | 2025-02-28 21:22:42 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 41 ms / 2,000 ms |
コード長 | 194 bytes |
コンパイル時間 | 167 ms |
コンパイル使用メモリ | 82,656 KB |
実行使用メモリ | 53,904 KB |
最終ジャッジ日時 | 2025-02-28 21:22:48 |
合計ジャッジ時間 | 1,558 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
ソースコード
S = input()A = list()B = list()num = "0123456789"for i in range(len(S)):if S[i] in num:B.append(S[i])else:A.append(S[i])A.reverse()print("".join(A)+"".join(B))