結果
問題 |
No.420 mod2漸化式
|
ユーザー |
|
提出日時 | 2024-09-22 16:04:35 |
言語 | Scheme (Gauche-0.9.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 322 bytes |
コンパイル時間 | 224 ms |
コンパイル使用メモリ | 6,948 KB |
実行使用メモリ | 149,516 KB |
最終ジャッジ日時 | 2024-09-22 16:04:39 |
合計ジャッジ時間 | 4,161 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | TLE * 1 -- * 34 |
ソースコード
(use util.combinations) (define yuki420 (let* ( (x (read)) (comb (lambda (a b) (length (combinations (iota a) b)))) (s (- (expt 2 31) 1)) ) (display (comb 31 x)) (display " ") (display (if (zero? x) 0 (* s (comb 30 (- x 1))) ) ) (newline) ) )