結果
問題 |
No.44 DPなすごろく
|
ユーザー |
![]() |
提出日時 | 2017-09-08 12:10:50 |
言語 | Scheme (Gauche-0.9.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 159 bytes |
コンパイル時間 | 147 ms |
コンパイル使用メモリ | 5,120 KB |
実行使用メモリ | 16,128 KB |
最終ジャッジ日時 | 2024-11-07 04:57:30 |
合計ジャッジ時間 | 1,755 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 4 |
other | WA * 20 |
ソースコード
(define n (read)) (define lis (cons 1 '(1) )) (define (ans lisx n) (if (= n 2)lisx(ans (cons (+(cadr lisx)(car lisx)) lisx) (- n 1)))) (print (car(ans lis n)))