結果
| 問題 |
No.207 世界のなんとか
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-05-06 16:33:39 |
| 言語 | C# (.NET 8.0.404) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 410 bytes |
| コンパイル時間 | 8,589 ms |
| コンパイル使用メモリ | 166,732 KB |
| 実行使用メモリ | 190,540 KB |
| 最終ジャッジ日時 | 2024-07-05 18:10:42 |
| 合計ジャッジ時間 | 16,865 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 19 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (96 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/
ソースコード
using System;
class Program
{
static void Main(string[] args)
{
var from = Convert.ToInt32(Console.ReadLine());
var to = Convert.ToInt32(Console.ReadLine());
foreach (var i in Enumerable.Range(from, to - from + 1))
{
if (i.ToString().IndexOf("3") != -1 ||
i % 3 == 0)
Console.WriteLine(i.ToString());
}
}
}