結果
問題 |
No.207 世界のなんとか
|
ユーザー |
![]() |
提出日時 | 2022-09-19 12:08:52 |
言語 | Scheme (Gauche-0.9.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 289 bytes |
コンパイル時間 | 155 ms |
コンパイル使用メモリ | 5,504 KB |
実行使用メモリ | 17,280 KB |
最終ジャッジ日時 | 2024-12-22 02:22:00 |
合計ジャッジ時間 | 1,399 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 8 WA * 11 |
ソースコード
(define (chk3p n) (cond ((= 0 (mod n 3)) #t) ((or (= 3 (div n 10)) (= 3 (mod n 10))) #t) (else #f))) (define (take3 ap) (filter (^ (x) (chk3p x)) ap)) (let* ((from (read)) (to (read))) (map (^ (x) (display x) (newline)) (take3 (iota (+ 1 (- to from)) from))) )