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