結果
| 問題 | No.799 赤黒かーどげぇむ |
| コンテスト | |
| ユーザー |
nasubi24
|
| 提出日時 | 2020-11-02 17:48:22 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 119 ms / 2,000 ms |
| コード長 | 140 bytes |
| 記録 | |
| コンパイル時間 | 365 ms |
| コンパイル使用メモリ | 20,952 KB |
| 実行使用メモリ | 15,480 KB |
| 最終ジャッジ日時 | 2026-04-03 07:50:04 |
| 合計ジャッジ時間 | 4,407 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge5_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 20 |
ソースコード
a,b,c,d=map(int,input().split())
ans=(b-a+1)*(d-c+1)
for i in range(101):
if a<=i and i<=b and c<=i and i<=d:
ans-=1
print(ans)
nasubi24