結果

問題 No.207 世界のなんとか
ユーザー laneguelanegue
提出日時 2020-03-31 08:23:55
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 59 ms / 5,000 ms
コード長 366 bytes
コンパイル時間 1,092 ms
コンパイル使用メモリ 63,576 KB
実行使用メモリ 23,036 KB
最終ジャッジ日時 2023-09-06 03:13:08
合計ジャッジ時間 3,234 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
20,868 KB
testcase_01 AC 55 ms
20,832 KB
testcase_02 AC 57 ms
20,840 KB
testcase_03 AC 57 ms
20,896 KB
testcase_04 AC 59 ms
23,036 KB
testcase_05 AC 58 ms
22,952 KB
testcase_06 AC 59 ms
20,904 KB
testcase_07 AC 59 ms
22,892 KB
testcase_08 AC 58 ms
20,780 KB
testcase_09 AC 56 ms
20,936 KB
testcase_10 AC 57 ms
20,896 KB
testcase_11 AC 57 ms
22,924 KB
testcase_12 AC 58 ms
23,020 KB
testcase_13 AC 57 ms
20,880 KB
testcase_14 AC 57 ms
22,872 KB
testcase_15 AC 58 ms
20,820 KB
testcase_16 AC 58 ms
21,024 KB
testcase_17 AC 54 ms
20,832 KB
testcase_18 AC 59 ms
21,000 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;
public class Program
{
    static void Main()
    {
        int[] inputs = Array.ConvertAll(Console.ReadLine().Split(' '), s => int.Parse(s));
        for (int i = inputs[0]; i <= inputs[1]; i++)
        {
            if (i % 3 == 0 || i.ToString().IndexOf('3') >= 0)
            {
                Console.WriteLine(i);
            }
        }
    }
}
0