結果
問題 | No.18 うーさー暗号 |
ユーザー | Tomoyarn |
提出日時 | 2022-02-18 17:37:44 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 217 bytes |
コンパイル時間 | 291 ms |
コンパイル使用メモリ | 86,940 KB |
実行使用メモリ | 71,380 KB |
最終ジャッジ日時 | 2023-09-11 18:12:53 |
合計ジャッジ時間 | 2,162 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge15 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 73 ms
71,016 KB |
testcase_01 | AC | 73 ms
71,324 KB |
testcase_02 | AC | 72 ms
71,136 KB |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | WA | - |
testcase_11 | WA | - |
testcase_12 | WA | - |
ソースコード
#yukicoder No.18 うーさー暗号 ans = "" S = input() for i in range(len(S)): j = i % 26 x = ord(S[j]) - (j + 1) if x >= 65: ans += chr(x) else: ans += chr(26 + x) print(ans)