結果

問題 No.18 うーさー暗号
ユーザー ryusukeryusuke
提出日時 2022-02-01 22:13:45
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 74 ms / 5,000 ms
コード長 136 bytes
コンパイル時間 584 ms
コンパイル使用メモリ 87,200 KB
実行使用メモリ 75,588 KB
最終ジャッジ日時 2023-09-02 02:35:59
合計ジャッジ時間 2,005 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
71,616 KB
testcase_01 AC 70 ms
71,236 KB
testcase_02 AC 69 ms
71,316 KB
testcase_03 AC 74 ms
75,532 KB
testcase_04 AC 68 ms
71,232 KB
testcase_05 AC 67 ms
71,392 KB
testcase_06 AC 67 ms
71,504 KB
testcase_07 AC 70 ms
75,308 KB
testcase_08 AC 72 ms
75,588 KB
testcase_09 AC 70 ms
71,364 KB
testcase_10 AC 67 ms
71,436 KB
testcase_11 AC 68 ms
71,308 KB
testcase_12 AC 67 ms
71,352 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ans = []
for i, j in enumerate(input()):
    p = (ord(j) - 65 - (i + 1) + 26 ** 5) % 26
    ans.append(chr(p + 65))

print(*ans, sep='')
0