結果

問題 No.799 赤黒かーどげぇむ
ユーザー flippergoflippergo
提出日時 2020-12-29 14:03:16
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 44 ms / 2,000 ms
コード長 141 bytes
コンパイル時間 232 ms
コンパイル使用メモリ 82,428 KB
実行使用メモリ 59,460 KB
最終ジャッジ日時 2024-04-15 14:58:58
合計ジャッジ時間 1,866 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
51,880 KB
testcase_01 AC 38 ms
52,948 KB
testcase_02 AC 44 ms
58,212 KB
testcase_03 AC 38 ms
52,648 KB
testcase_04 AC 39 ms
51,904 KB
testcase_05 AC 40 ms
52,472 KB
testcase_06 AC 41 ms
58,176 KB
testcase_07 AC 38 ms
52,396 KB
testcase_08 AC 39 ms
53,080 KB
testcase_09 AC 42 ms
59,364 KB
testcase_10 AC 38 ms
53,584 KB
testcase_11 AC 38 ms
52,736 KB
testcase_12 AC 38 ms
52,632 KB
testcase_13 AC 38 ms
53,420 KB
testcase_14 AC 38 ms
52,196 KB
testcase_15 AC 42 ms
59,460 KB
testcase_16 AC 42 ms
57,784 KB
testcase_17 AC 38 ms
52,468 KB
testcase_18 AC 41 ms
57,800 KB
testcase_19 AC 38 ms
52,400 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B,C,D = map(int,input().split())
cnt = 0
for i in range(A,B+1):
    for j in range(C,D+1):
        if i!=j:
            cnt += 1
print(cnt)
0