結果
問題 |
No.18 うーさー暗号
|
ユーザー |
![]() |
提出日時 | 2017-01-06 21:07:28 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 221 bytes |
コンパイル時間 | 135 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-12-17 14:47:17 |
合計ジャッジ時間 | 1,108 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 2 RE * 11 |
ソースコード
import sys s=input() def mod(n): if n<0: return 26+n return n%26 c_array=[chr(i) for i in range(ord('A'),ord('Z')+1)] for i in range(1,len(s)+1): sys.stdout.write(c_array[mod(c_array.index(s[i-1])-i)])