結果

問題 No.799 赤黒かーどげぇむ
ユーザー 👑 H20H20
提出日時 2020-11-19 08:39:30
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 76 ms / 2,000 ms
コード長 142 bytes
コンパイル時間 306 ms
コンパイル使用メモリ 87,200 KB
実行使用メモリ 76,188 KB
最終ジャッジ日時 2023-09-30 15:44:33
合計ジャッジ時間 2,703 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,308 KB
testcase_01 AC 70 ms
71,420 KB
testcase_02 AC 73 ms
75,804 KB
testcase_03 AC 73 ms
71,400 KB
testcase_04 AC 76 ms
71,312 KB
testcase_05 AC 72 ms
71,248 KB
testcase_06 AC 73 ms
75,564 KB
testcase_07 AC 70 ms
71,456 KB
testcase_08 AC 72 ms
71,388 KB
testcase_09 AC 75 ms
76,188 KB
testcase_10 AC 71 ms
71,100 KB
testcase_11 AC 71 ms
71,484 KB
testcase_12 AC 71 ms
71,484 KB
testcase_13 AC 72 ms
71,352 KB
testcase_14 AC 70 ms
71,268 KB
testcase_15 AC 75 ms
75,752 KB
testcase_16 AC 73 ms
75,532 KB
testcase_17 AC 70 ms
71,252 KB
testcase_18 AC 74 ms
75,652 KB
testcase_19 AC 70 ms
71,404 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