結果
問題 |
No.69 文字を自由に並び替え
|
ユーザー |
|
提出日時 | 2023-07-07 17:24:36 |
言語 | TypeScript (5.7.2) |
結果 |
WA
|
実行時間 | - |
コード長 | 251 bytes |
コンパイル時間 | 7,608 ms |
コンパイル使用メモリ | 230,976 KB |
実行使用メモリ | 39,680 KB |
最終ジャッジ日時 | 2024-12-31 17:01:02 |
合計ジャッジ時間 | 9,153 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 6 WA * 9 |
ソースコード
function Main(input: string) { const inputs = input.split("\n"); if (inputs[0].split('').sort() === inputs[1].split('').sort()) { console.log('YES') } else { console.log('NO') } } Main(require("fs").readFileSync("/dev/stdin", "utf8"));