結果
| 問題 | No.207 世界のなんとか |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-03-01 20:11:35 |
| 言語 | D (dmd 2.109.1) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 5,000 ms |
| コード長 | 302 bytes |
| 記録 | |
| コンパイル時間 | 1,011 ms |
| コンパイル使用メモリ | 102,148 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-06-12 07:07:44 |
| 合計ジャッジ時間 | 1,619 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 19 |
ソースコード
import std.stdio;
import std.string, std.conv, std.array, std.algorithm;
void main(){
auto input = readln.split.map!(to!int).array;
auto A = input[0], B = input[1];
foreach(i ; A .. B + 1){
if(i % 3 == 0 || i.to!string.indexOf('3') != -1){
i.writeln;
}
}
}