結果

問題 No.207 世界のなんとか
ユーザー nohopen
提出日時 2019-02-10 12:17:34
言語 Scheme
(Gauche-0.9.15)
結果
AC  
実行時間 24 ms / 5,000 ms
コード長 254 bytes
コンパイル時間 55 ms
コンパイル使用メモリ 5,120 KB
実行使用メモリ 16,000 KB
最終ジャッジ日時 2024-07-05 23:56:40
合計ジャッジ時間 1,936 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

(define (judge a b)
  (if (> a b) "EOF"
      (begin
        (when (or (member #\3 (string->list (number->string a)))
                  (= (modulo a 3) 0))
          (print a))
        (judge (+ a 1) b))))

(define (main args)
  (judge (read) (read)) 0)
0