結果
| 問題 |
No.1455 拡張ROTN
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-03-31 21:03:17 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 203 bytes |
| コンパイル時間 | 287 ms |
| コンパイル使用メモリ | 82,048 KB |
| 実行使用メモリ | 52,352 KB |
| 最終ジャッジ日時 | 2024-12-15 08:31:56 |
| 合計ジャッジ時間 | 2,092 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)))