結果

問題 No.207 世界のなんとか
ユーザー MaisuMaisu
提出日時 2016-12-24 11:45:24
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 58 ms / 5,000 ms
コード長 336 bytes
コンパイル時間 1,956 ms
コンパイル使用メモリ 102,112 KB
実行使用メモリ 22,792 KB
最終ジャッジ日時 2023-08-21 07:51:17
合計ジャッジ時間 3,997 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 56 ms
20,652 KB
testcase_01 AC 57 ms
20,752 KB
testcase_02 AC 57 ms
22,680 KB
testcase_03 AC 58 ms
22,668 KB
testcase_04 AC 57 ms
20,760 KB
testcase_05 AC 57 ms
20,828 KB
testcase_06 AC 57 ms
22,756 KB
testcase_07 AC 57 ms
20,764 KB
testcase_08 AC 56 ms
20,668 KB
testcase_09 AC 58 ms
22,792 KB
testcase_10 AC 57 ms
20,744 KB
testcase_11 AC 57 ms
20,736 KB
testcase_12 AC 57 ms
20,740 KB
testcase_13 AC 56 ms
18,736 KB
testcase_14 AC 58 ms
22,676 KB
testcase_15 AC 57 ms
20,836 KB
testcase_16 AC 57 ms
20,624 KB
testcase_17 AC 56 ms
20,820 KB
testcase_18 AC 55 ms
22,760 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

public class Program {
  public static void Main() {
    string[] input = Console.ReadLine().Split(' ');
    int start = int.Parse(input[0]);
    int end = int.Parse(input[1]);
    for (int i = start; i <= end; i++) {
      if (i % 3 == 0 || i.ToString().Contains("3")) {
        Console.WriteLine(i);
      }
    }
  }
}
0