結果

問題 No.1713 trick or treat!
ユーザー n_get
提出日時 2022-07-13 13:51:40
言語 Scheme
(Gauche-0.9.15)
結果
RE  
実行時間 -
コード長 135 bytes
コンパイル時間 68 ms
コンパイル使用メモリ 5,248 KB
実行使用メモリ 23,296 KB
最終ジャッジ日時 2024-06-24 16:54:46
合計ジャッジ時間 2,056 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 3
other RE * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

(use scheme.bitwise)
(define a (read))
(define b (read))
(define (f n) (if (zero? n) 1 (* n (f (- n 1)))))
(print (bitwise-or a (f b)))
0