結果

問題 No.207 世界のなんとか
ユーザー nohopennohopen
提出日時 2019-02-10 12:17:34
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 20 ms / 5,000 ms
コード長 254 bytes
コンパイル時間 146 ms
コンパイル使用メモリ 5,292 KB
実行使用メモリ 11,892 KB
最終ジャッジ日時 2023-09-20 03:38:10
合計ジャッジ時間 1,929 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 19 ms
11,752 KB
testcase_01 AC 20 ms
11,640 KB
testcase_02 AC 19 ms
11,800 KB
testcase_03 AC 20 ms
11,756 KB
testcase_04 AC 19 ms
11,760 KB
testcase_05 AC 20 ms
11,876 KB
testcase_06 AC 19 ms
11,732 KB
testcase_07 AC 19 ms
11,724 KB
testcase_08 AC 19 ms
11,664 KB
testcase_09 AC 19 ms
11,876 KB
testcase_10 AC 20 ms
11,884 KB
testcase_11 AC 20 ms
11,892 KB
testcase_12 AC 19 ms
11,812 KB
testcase_13 AC 19 ms
11,724 KB
testcase_14 AC 19 ms
11,788 KB
testcase_15 AC 19 ms
11,796 KB
testcase_16 AC 18 ms
11,672 KB
testcase_17 AC 19 ms
11,668 KB
testcase_18 AC 19 ms
11,564 KB
権限があれば一括ダウンロードができます

ソースコード

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