結果
| 問題 | No.1455 拡張ROTN |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-03-31 21:03:17 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 203 bytes |
| 記録 | |
| コンパイル時間 | 270 ms |
| コンパイル使用メモリ | 85,504 KB |
| 実行使用メモリ | 52,224 KB |
| 最終ジャッジ日時 | 2026-05-25 21:43:37 |
| 合計ジャッジ時間 | 2,182 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 22 |
ソースコード
s = input()
n = int(input())
def sub(c):
if c.lower()==c:
return chr((ord(c)-ord("a"))%26 + ord("a"))
else:
return chr((ord(c)-ord("A"))%26 + ord("A"))
print("".join(map(sub, s)))