結果
問題 | No.739 大事なことなので2度言います |
ユーザー | Tksi |
提出日時 | 2018-11-06 00:46:44 |
言語 | JavaScript (node v21.7.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 215 bytes |
コンパイル時間 | 32 ms |
コンパイル使用メモリ | 6,688 KB |
実行使用メモリ | 39,680 KB |
最終ジャッジ日時 | 2024-04-21 02:24:04 |
合計ジャッジ時間 | 1,163 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | RE | - |
testcase_01 | RE | - |
testcase_02 | RE | - |
testcase_03 | RE | - |
testcase_04 | RE | - |
testcase_05 | RE | - |
testcase_06 | RE | - |
testcase_07 | RE | - |
testcase_08 | RE | - |
testcase_09 | RE | - |
testcase_10 | RE | - |
ソースコード
let input = require('fs').readFileSync('/dev/stdin', 'utf8'); const S = input.replace('\n', ''); console.log(input; console.log(S.length % 2 ? 'NO' : S.slice(S.length / 2) == S.slice(-S.length / 2) ? 'YES' : 'NO');