結果
| 問題 | No.207 世界のなんとか |
| コンテスト | |
| ユーザー |
Rin
|
| 提出日時 | 2015-08-25 21:54:54 |
| 言語 | Scheme (Gauche-0.9.15) |
| 結果 |
OLE
|
| 実行時間 | - |
| コード長 | 555 bytes |
| 記録 | |
| コンパイル時間 | 190 ms |
| コンパイル使用メモリ | 8,224 KB |
| 実行使用メモリ | 37,704 KB |
| 最終ジャッジ日時 | 2026-04-02 06:40:30 |
| 合計ジャッジ時間 | 12,699 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | OLE * 1 -- * 18 |
ソースコード
(define (System.out.println x)
(begin
(display x)
(newline)
)
)
(define (CheckThree x)
(let loop((i x))
(if (= (modulo i 10) 3)
#t
(if (> i 13)
(loop (floor (/ i 10)))
#f))))
(let (
(From (read))
(To (read))
)
(let loop((i From))
(begin
(when (or (= (modulo i 3) 0 ) (CheckThree i))
(System.out.println i)
)
(unless (= i To)
(loop (+ i 1))
)
)
)
)
Rin