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