結果

問題 No.18 うーさー暗号
ユーザー lllllll88938494lllllll88938494
提出日時 2023-05-28 17:46:26
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 71 ms / 5,000 ms
コード長 157 bytes
コンパイル時間 278 ms
コンパイル使用メモリ 87,204 KB
実行使用メモリ 71,120 KB
最終ジャッジ日時 2023-08-27 14:46:31
合計ジャッジ時間 2,025 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
71,108 KB
testcase_01 AC 66 ms
70,644 KB
testcase_02 AC 66 ms
71,100 KB
testcase_03 AC 67 ms
70,976 KB
testcase_04 AC 64 ms
71,108 KB
testcase_05 AC 66 ms
70,984 KB
testcase_06 AC 64 ms
71,120 KB
testcase_07 AC 67 ms
70,980 KB
testcase_08 AC 67 ms
71,024 KB
testcase_09 AC 65 ms
71,104 KB
testcase_10 AC 65 ms
71,116 KB
testcase_11 AC 68 ms
71,028 KB
testcase_12 AC 71 ms
71,024 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a = ''
for i in range(65,91):
    a+=chr(i)
a = a*100

s=input()
ans = ''

for i in range(len(s)):
    t = ord(s[i]) - (i+1) - 65
    ans += a[t]

print(ans)
0