2007-05-31から1日間の記事一覧
演習問題の、ラグランジュの四平方定理(2003年 ICPC アジア地区予選 会津大会 問題B)http://osmag.jp/articles/root/root93.html (define (lag n) (define count 0) (define (cmp l) (let1 s (apply + (map (lambda (x) (* x x)) l)) (cond ((= s n) 0) ((> …
演習問題の、ラグランジュの四平方定理(2003年 ICPC アジア地区予選 会津大会 問題B)http://osmag.jp/articles/root/root93.html (define (lag n) (define count 0) (define (cmp l) (let1 s (apply + (map (lambda (x) (* x x)) l)) (cond ((= s n) 0) ((> …