結果
| 問題 |
No.18 うーさー暗号
|
| ユーザー |
arisu_takanasi
|
| 提出日時 | 2020-02-26 16:03:21 |
| 言語 | JavaScript (node v23.5.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 343 bytes |
| コンパイル時間 | 25 ms |
| コンパイル使用メモリ | 6,692 KB |
| 実行使用メモリ | 41,456 KB |
| 最終ジャッジ日時 | 2024-10-13 01:31:05 |
| 合計ジャッジ時間 | 1,360 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 13 |
ソースコード
var Main = function (input) {
var elements = input.split("");
var ary1 = elements.map(function(item, i){
var num = elements[i].charCodeAt(0);
num = (((num - 65) - (i + 1) + 25) % 25) +65
return String.fromCharCode(num);
});
console.log(ary1.join(''))
};
//Don't Edit this code
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
arisu_takanasi