結果

問題 No.799 赤黒かーどげぇむ
ユーザー HAGI_TAROHAGI_TARO
提出日時 2021-09-13 09:12:24
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 72 ms / 2,000 ms
コード長 143 bytes
コンパイル時間 398 ms
コンパイル使用メモリ 87,152 KB
実行使用メモリ 76,076 KB
最終ジャッジ日時 2023-09-07 13:52:39
合計ジャッジ時間 3,254 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
71,472 KB
testcase_01 AC 68 ms
71,360 KB
testcase_02 AC 70 ms
75,380 KB
testcase_03 AC 66 ms
71,344 KB
testcase_04 AC 68 ms
71,108 KB
testcase_05 AC 67 ms
71,388 KB
testcase_06 AC 69 ms
75,688 KB
testcase_07 AC 69 ms
71,456 KB
testcase_08 AC 69 ms
71,300 KB
testcase_09 AC 72 ms
76,076 KB
testcase_10 AC 69 ms
71,292 KB
testcase_11 AC 71 ms
71,460 KB
testcase_12 AC 70 ms
71,368 KB
testcase_13 AC 70 ms
71,448 KB
testcase_14 AC 67 ms
71,396 KB
testcase_15 AC 70 ms
75,512 KB
testcase_16 AC 70 ms
75,356 KB
testcase_17 AC 67 ms
71,480 KB
testcase_18 AC 69 ms
75,712 KB
testcase_19 AC 68 ms
71,356 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b,c,d = map(int,input().split())
ans = 0
for i in range(a,b+1):
    for j in range(c,d+1):
        if i != j:
            ans += 1
print(ans)
0