結果

問題 No.799 赤黒かーどげぇむ
ユーザー miya145592miya145592
提出日時 2023-05-02 02:34:55
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 45 ms / 2,000 ms
コード長 145 bytes
コンパイル時間 241 ms
コンパイル使用メモリ 82,600 KB
実行使用メモリ 59,128 KB
最終ジャッジ日時 2024-04-30 22:38:38
合計ジャッジ時間 1,830 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 42 ms
53,136 KB
testcase_01 AC 40 ms
52,748 KB
testcase_02 AC 42 ms
58,248 KB
testcase_03 AC 40 ms
51,872 KB
testcase_04 AC 40 ms
52,160 KB
testcase_05 AC 40 ms
52,752 KB
testcase_06 AC 43 ms
58,388 KB
testcase_07 AC 40 ms
52,364 KB
testcase_08 AC 39 ms
52,880 KB
testcase_09 AC 44 ms
58,968 KB
testcase_10 AC 39 ms
52,988 KB
testcase_11 AC 39 ms
53,648 KB
testcase_12 AC 40 ms
52,344 KB
testcase_13 AC 39 ms
52,936 KB
testcase_14 AC 40 ms
53,076 KB
testcase_15 AC 45 ms
57,532 KB
testcase_16 AC 44 ms
59,128 KB
testcase_17 AC 39 ms
53,148 KB
testcase_18 AC 42 ms
57,532 KB
testcase_19 AC 40 ms
52,368 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