結果
問題 | No.207 世界のなんとか |
ユーザー | Rin |
提出日時 | 2015-08-25 21:54:54 |
言語 | Scheme (Gauche-0.9.14) |
結果 |
OLE
|
実行時間 | - |
コード長 | 555 bytes |
コンパイル時間 | 71 ms |
コンパイル使用メモリ | 5,400 KB |
実行使用メモリ | 19,964 KB |
最終ジャッジ日時 | 2023-09-25 17:04:48 |
合計ジャッジ時間 | 12,672 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | OLE | - |
testcase_01 | -- | - |
testcase_02 | -- | - |
testcase_03 | -- | - |
testcase_04 | -- | - |
testcase_05 | -- | - |
testcase_06 | -- | - |
testcase_07 | -- | - |
testcase_08 | -- | - |
testcase_09 | -- | - |
testcase_10 | -- | - |
testcase_11 | -- | - |
testcase_12 | -- | - |
testcase_13 | -- | - |
testcase_14 | -- | - |
testcase_15 | -- | - |
testcase_16 | -- | - |
testcase_17 | -- | - |
testcase_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)) ) ) ) )