結果

問題 No.207 世界のなんとか
ユーザー cccccc
提出日時 2022-07-14 17:00:31
言語 C#
(.NET 8.0.404)
結果
WA  
実行時間 -
コード長 442 bytes
コンパイル時間 12,586 ms
コンパイル使用メモリ 175,000 KB
実行使用メモリ 183,904 KB
最終ジャッジ日時 2024-06-26 00:36:58
合計ジャッジ時間 14,729 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2 WA * 17
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.csproj を復元しました (100 ms)。
MSBuild のバージョン 17.9.6+a4ecab324 (.NET)
  main -> /home/judge/data/code/bin/Release/net8.0/main.dll
  main -> /home/judge/data/code/bin/Release/net8.0/publish/

ソースコード

diff #

using System;
using System.Linq;
class Program
{
    static void Main()
    {
        var l = Console.ReadLine().Split().Select(int.Parse).ToArray();
        for(int i = l[0]; i < l[1]; i++)
        {
            string st = i.ToString();

            if(i % 3 == 0)
            {
                 Console.WriteLine(i);
            }else if (st.Contains("3"))
            {
                Console.WriteLine();
            }
        }
    }
}
0