結果

問題 No.1713 trick or treat!
ユーザー n_getn_get
提出日時 2022-07-13 13:54:23
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 64 ms / 2,000 ms
コード長 136 bytes
コンパイル時間 289 ms
コンパイル使用メモリ 5,312 KB
実行使用メモリ 16,840 KB
最終ジャッジ日時 2023-09-06 22:45:08
合計ジャッジ時間 1,279 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
16,584 KB
testcase_01 AC 63 ms
16,548 KB
testcase_02 AC 64 ms
16,776 KB
testcase_03 AC 62 ms
16,552 KB
testcase_04 AC 61 ms
16,656 KB
testcase_05 AC 61 ms
16,548 KB
testcase_06 AC 62 ms
16,760 KB
testcase_07 AC 62 ms
16,840 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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