結果

問題 No.2022 Antilogarithm
ユーザー norioc
提出日時 2025-06-22 20:41:15
言語 Scheme
(Gauche-0.9.15)
結果
WA  
実行時間 -
コード長 865 bytes
コンパイル時間 325 ms
コンパイル使用メモリ 8,228 KB
実行使用メモリ 23,552 KB
最終ジャッジ日時 2025-06-22 20:41:25
合計ジャッジ時間 9,328 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 54 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

(use scheme.list)
(use util.match)
(use srfi.13) ; string
(use srfi.42) ; list-ec

(define input read-line)

(define (ii)
  (string->number (read-line)))

(define (li)
  (let ((s (read-line)))
    (map string->number (string-split s " "))))

(define (prn . args)
  (for-each (lambda (i x)
              (when (> i 0)
                (display " "))
              (display x))
            (iota (length args))
            args)
  (newline))

(define int string->number)

(define-method min ((xs <sequence>))
  (apply min xs))

(define (minmax . xs) (apply min&max xs))
(define-method minmax ((xs <sequence>)) (apply min&max xs))

(define (sum xs) (apply + xs))

(define divmod div-and-mod)

(define pow
  (case-lambda
   ((a b) (expt a b))
   ((a b m) (expt-mod a b m))))

(define (yn b)
  (prn (if b "Yes" "No")))

(receive (A B) (apply values (li))
  (yn (< A B)))
0