結果
| 問題 |
No.207 世界のなんとか
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-05-31 14:45:47 |
| 言語 | Scheme (Gauche-0.9.15) |
| 結果 |
AC
|
| 実行時間 | 41 ms / 5,000 ms |
| コード長 | 346 bytes |
| コンパイル時間 | 49 ms |
| コンパイル使用メモリ | 6,948 KB |
| 実行使用メモリ | 17,792 KB |
| 最終ジャッジ日時 | 2024-10-09 10:22:08 |
| 合計ジャッジ時間 | 2,413 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 19 |
ソースコード
#!/usr/bin/env gosh
(use srfi-13)
(define (main args)
(receive (a b) (apply values (map string->number (string-split (read-line) " ")))
(let loop ([i a])
(cond
[(<= i b)
(when (or (= (mod i 3) 0)
(string-contains (number->string i) "3"))
(print i))
(loop (+ i 1))])
))
0)