結果

問題 No.481 1から10
コンテスト
ユーザー kokoa1046
提出日時 2017-09-08 01:22:48
言語 Scheme
(Gauche-0.9.15)
コンパイル:
true
実行:
gosh _filename_
結果
AC  
実行時間 18 ms / 2,000 ms
コード長 482 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 149 ms
コンパイル使用メモリ 6,528 KB
実行使用メモリ 16,512 KB
最終ジャッジ日時 2026-05-07 20:20:41
合計ジャッジ時間 1,309 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

; (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