結果
| 問題 |
No.2547 Did you enjoy Chofu Festival?
|
| コンテスト | |
| ユーザー |
norioc
|
| 提出日時 | 2025-06-17 03:15:00 |
| 言語 | Scheme (Gauche-0.9.15) |
| 結果 |
AC
|
| 実行時間 | 31 ms / 2,000 ms |
| コード長 | 356 bytes |
| コンパイル時間 | 256 ms |
| コンパイル使用メモリ | 8,104 KB |
| 実行使用メモリ | 16,896 KB |
| 最終ジャッジ日時 | 2025-06-17 03:15:02 |
| 合計ジャッジ時間 | 1,597 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 10 |
ソースコード
(use scheme.list)
(use util.match)
(define (ii)
(string->number (read-line)))
(define (li)
(let ((s (read-line)))
(map string->number (string-split s " "))))
(let* ((N (ii))
(A (li))
(B (li)))
(let ((ans (count (match-lambda ((a b)
(<= a b)))
(zip A B))))
(print ans)))
norioc