結果
| 問題 | No.69 文字を自由に並び替え |
| コンテスト | |
| ユーザー |
Rin
|
| 提出日時 | 2015-09-05 21:57:07 |
| 言語 | Scheme (Gauche-0.9.15) |
| 結果 |
AC
不安定
|
| 実行時間 | 16 ms / 5,000 ms |
| + 572µs | |
| コード長 | 434 bytes |
| 記録 | |
| コンパイル時間 | 15 ms |
| コンパイル使用メモリ | 9,848 KB |
| 実行使用メモリ | 16,256 KB |
| 最終ジャッジ日時 | 2026-10-03 06:52:13 |
| 合計ジャッジ時間 | 1,717 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 15 |
ソースコード
(define (System.out.println x)
(begin
(display x)
(newline)
)
)
(let (
(A (sort (string->list (symbol->string (read))) (lambda (x y) (< (char->integer x) (char->integer y)))))
(B (sort (string->list (symbol->string (read))) (lambda (x y) (< (char->integer x) (char->integer y)))))
)
(if (string=? (list->string A) (list->string B))
(System.out.println "YES")
(System.out.println "NO")
)
)
Rin