結果
| 問題 | No.3035 文字列のみの反転 |
| コンテスト | |
| ユーザー |
高橋ゆに
|
| 提出日時 | 2025-02-28 21:46:30 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 182 bytes |
| 記録 | |
| コンパイル時間 | 168 ms |
| コンパイル使用メモリ | 82,288 KB |
| 実行使用メモリ | 67,496 KB |
| 最終ジャッジ日時 | 2025-02-28 21:46:32 |
| 合計ジャッジ時間 | 1,816 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 12 |
ソースコード
S = input() ans = [] for i in range(len(S)): ans.append(S[i]) if i != N - 1 and not S[i] in '0123456789' and S[i + 1] in '0123456789': ans.reverse() ans = ''.join(ans) print(ans)
高橋ゆに