結果

問題 No.481 1から10
ユーザー kokoa1046kokoa1046
提出日時 2017-09-08 01:22:48
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 26 ms / 2,000 ms
コード長 482 bytes
コンパイル時間 30 ms
コンパイル使用メモリ 5,120 KB
実行使用メモリ 16,384 KB
最終ジャッジ日時 2024-04-25 02:24:09
合計ジャッジ時間 1,096 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
16,256 KB
testcase_01 AC 25 ms
16,256 KB
testcase_02 AC 25 ms
16,384 KB
testcase_03 AC 26 ms
16,384 KB
testcase_04 AC 25 ms
16,384 KB
testcase_05 AC 25 ms
16,384 KB
testcase_06 AC 25 ms
16,256 KB
testcase_07 AC 26 ms
16,256 KB
testcase_08 AC 25 ms
16,256 KB
testcase_09 AC 26 ms
16,256 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

; (print (+(inexact->exact(floor(/ n (+ k 1))))1))Here your code !
(use srfi-1)
(define (makeomega n m) (map (lambda (x) (+ x m)) (iota n)) )
(define x (makeomega 10 1))
(define (readn n)  (if (= n 0) '() (cons (read) (readn (- n 1)) ) ))
(define (set-difference x y)
    (cond ((null? x) '())
          ((member (car x) y)
           (set-difference (cdr x) y))
          (else
           (cons (car x) (set-difference (cdr x) y)))))
(print (car(set-difference x (readn 9))))

    
0