結果

問題 No.773 コンテスト
ユーザー Kaz_nlKaz_nl
提出日時 2018-12-26 20:47:54
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 60 ms / 2,000 ms
コード長 272 bytes
コンパイル時間 1,250 ms
コンパイル使用メモリ 67,792 KB
実行使用メモリ 23,932 KB
最終ジャッジ日時 2023-09-20 16:17:17
合計ジャッジ時間 3,633 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 60 ms
21,884 KB
testcase_01 AC 59 ms
21,844 KB
testcase_02 AC 60 ms
19,824 KB
testcase_03 AC 59 ms
21,800 KB
testcase_04 AC 60 ms
23,788 KB
testcase_05 AC 60 ms
21,876 KB
testcase_06 AC 60 ms
21,812 KB
testcase_07 AC 60 ms
23,852 KB
testcase_08 AC 59 ms
21,792 KB
testcase_09 AC 60 ms
21,944 KB
testcase_10 AC 59 ms
22,008 KB
testcase_11 AC 60 ms
21,896 KB
testcase_12 AC 59 ms
21,864 KB
testcase_13 AC 59 ms
21,892 KB
testcase_14 AC 59 ms
21,804 KB
testcase_15 AC 60 ms
21,796 KB
testcase_16 AC 59 ms
21,872 KB
testcase_17 AC 59 ms
21,872 KB
testcase_18 AC 60 ms
23,812 KB
testcase_19 AC 59 ms
23,932 KB
testcase_20 AC 59 ms
23,780 KB
testcase_21 AC 58 ms
21,756 KB
testcase_22 AC 59 ms
21,816 KB
testcase_23 AC 59 ms
19,864 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;
using System.Linq;

class Program {
  static void Main() {
    var a = Console.ReadLine().Split().Select(int.Parse).ToArray();
    int cnt = 0;
    for (int i = 23; i < 26; i++) {
      if (i < a[0] || a[1] < i) cnt++;
    }
    Console.WriteLine(cnt);
  }
}
0