結果

問題 No.207 世界のなんとか
ユーザー Yuzu MashiroYuzu Mashiro
提出日時 2021-04-01 18:25:02
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 62 ms / 5,000 ms
コード長 225 bytes
コンパイル時間 120 ms
コンパイル使用メモリ 5,296 KB
実行使用メモリ 16,620 KB
最終ジャッジ日時 2023-08-22 21:05:31
合計ジャッジ時間 2,969 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 60 ms
16,444 KB
testcase_01 AC 62 ms
16,552 KB
testcase_02 AC 60 ms
16,556 KB
testcase_03 AC 61 ms
16,564 KB
testcase_04 AC 60 ms
16,436 KB
testcase_05 AC 61 ms
16,452 KB
testcase_06 AC 60 ms
16,416 KB
testcase_07 AC 59 ms
16,596 KB
testcase_08 AC 60 ms
16,608 KB
testcase_09 AC 60 ms
16,484 KB
testcase_10 AC 61 ms
16,440 KB
testcase_11 AC 60 ms
16,440 KB
testcase_12 AC 61 ms
16,620 KB
testcase_13 AC 62 ms
16,540 KB
testcase_14 AC 61 ms
16,440 KB
testcase_15 AC 60 ms
16,532 KB
testcase_16 AC 60 ms
16,420 KB
testcase_17 AC 60 ms
16,484 KB
testcase_18 AC 60 ms
16,572 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(use srfi-42)

(define-values (a b)
 (apply values (map string->number (string-split (read-line) " "))))

(do-ec (: n a (+ b 1))
       (or (zero? (mod n 3))
           (string-scan (number->string n) #\3))
       (print n))
0