結果
| 問題 |
No.207 世界のなんとか
|
| コンテスト | |
| ユーザー |
Rin
|
| 提出日時 | 2015-08-25 21:54:54 |
| 言語 | Scheme (Gauche-0.9.15) |
| 結果 |
OLE
|
| 実行時間 | - |
| コード長 | 555 bytes |
| コンパイル時間 | 27 ms |
| コンパイル使用メモリ | 5,120 KB |
| 実行使用メモリ | 26,240 KB |
| 最終ジャッジ日時 | 2024-07-18 13:24:43 |
| 合計ジャッジ時間 | 12,421 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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