結果
問題 |
No.2322 MMA文字列
|
ユーザー |
|
提出日時 | 2023-05-28 13:38:55 |
言語 | JavaScript (node v23.5.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 272 bytes |
コンパイル時間 | 149 ms |
コンパイル使用メモリ | 6,688 KB |
実行使用メモリ | 39,424 KB |
最終ジャッジ日時 | 2024-12-26 21:20:56 |
合計ジャッジ時間 | 2,286 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 14 WA * 5 |
ソースコード
function Main(input){ input = input.trim() input = input.split("") if(input[0]==input[1]&&input.length == 3){ console.log("Yes") }else{ console.log("No") } } Main(require("fs").readFileSync("/dev/stdin", "utf8"));