結果

問題 No.799 赤黒かーどげぇむ
ユーザー convexineqconvexineq
提出日時 2021-03-25 03:43:56
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 82 ms / 2,000 ms
コード長 131 bytes
コンパイル時間 291 ms
コンパイル使用メモリ 87,276 KB
実行使用メモリ 75,920 KB
最終ジャッジ日時 2023-08-17 22:55:07
合計ジャッジ時間 3,593 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
70,968 KB
testcase_01 AC 77 ms
71,144 KB
testcase_02 AC 79 ms
75,444 KB
testcase_03 AC 82 ms
71,108 KB
testcase_04 AC 76 ms
71,136 KB
testcase_05 AC 77 ms
71,384 KB
testcase_06 AC 78 ms
75,764 KB
testcase_07 AC 77 ms
71,276 KB
testcase_08 AC 77 ms
71,360 KB
testcase_09 AC 81 ms
75,920 KB
testcase_10 AC 77 ms
71,152 KB
testcase_11 AC 78 ms
71,268 KB
testcase_12 AC 76 ms
71,268 KB
testcase_13 AC 77 ms
71,532 KB
testcase_14 AC 79 ms
71,384 KB
testcase_15 AC 81 ms
75,576 KB
testcase_16 AC 80 ms
75,596 KB
testcase_17 AC 79 ms
71,148 KB
testcase_18 AC 82 ms
75,384 KB
testcase_19 AC 77 ms
71,380 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