結果

問題 No.799 赤黒かーどげぇむ
ユーザー koba-e964koba-e964
提出日時 2019-03-17 22:22:13
言語 Ruby
(3.1.1p18 )
結果
AC  
実行時間 71 ms / 2,000 ms
コード長 116 bytes
コンパイル時間 182 ms
使用メモリ 13,984 KB
最終ジャッジ日時 2023-02-11 08:35:33
合計ジャッジ時間 2,880 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 71 ms
13,892 KB
testcase_01 AC 71 ms
13,852 KB
testcase_02 AC 70 ms
13,728 KB
testcase_03 AC 70 ms
13,720 KB
testcase_04 AC 69 ms
13,804 KB
testcase_05 AC 70 ms
13,972 KB
testcase_06 AC 70 ms
13,964 KB
testcase_07 AC 69 ms
13,860 KB
testcase_08 AC 69 ms
13,852 KB
testcase_09 AC 70 ms
13,824 KB
testcase_10 AC 69 ms
13,944 KB
testcase_11 AC 70 ms
13,844 KB
testcase_12 AC 70 ms
13,968 KB
testcase_13 AC 71 ms
13,812 KB
testcase_14 AC 71 ms
13,852 KB
testcase_15 AC 70 ms
13,984 KB
testcase_16 AC 70 ms
13,812 KB
testcase_17 AC 70 ms
13,864 KB
testcase_18 AC 69 ms
13,848 KB
testcase_19 AC 69 ms
13,804 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a,b,c,d=gets.split.map &:to_i
cnt=0
for i in a..b
    for j in c..d
        if i!=j;cnt+=1;end
    end
end

puts cnt
0