結果

問題 No.18 うーさー暗号
ユーザー zakuro9715zakuro9715
提出日時 2015-10-07 22:02:12
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 79 ms / 5,000 ms
コード長 165 bytes
コンパイル時間 271 ms
コンパイル使用メモリ 86,964 KB
実行使用メモリ 75,644 KB
最終ジャッジ日時 2023-09-21 11:54:04
合計ジャッジ時間 2,156 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,432 KB
testcase_01 AC 71 ms
71,484 KB
testcase_02 AC 73 ms
71,192 KB
testcase_03 AC 75 ms
75,468 KB
testcase_04 AC 76 ms
75,284 KB
testcase_05 AC 73 ms
75,236 KB
testcase_06 AC 78 ms
75,332 KB
testcase_07 AC 77 ms
75,424 KB
testcase_08 AC 79 ms
75,544 KB
testcase_09 AC 78 ms
75,472 KB
testcase_10 AC 72 ms
71,192 KB
testcase_11 AC 73 ms
71,428 KB
testcase_12 AC 79 ms
75,644 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def decode(x):
    n, a = x[0], x[1]
    a = ord(a) - n - 1
    while a < ord('A'):
        a += 26
    return chr(a)
print(''.join(map(decode, enumerate(input()))))
0