結果
| 問題 |
No.799 赤黒かーどげぇむ
|
| コンテスト | |
| ユーザー |
keisuke6
|
| 提出日時 | 2022-10-15 14:58:56 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 54 ms / 2,000 ms |
| コード長 | 215 bytes |
| コンパイル時間 | 1,679 ms |
| コンパイル使用メモリ | 192,408 KB |
| 最終ジャッジ日時 | 2025-02-08 06:33:47 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 20 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int a,b,c,d;
cin>>a>>b>>c>>d;
int ans = 0;
for(int i=a;i<=b;i++)for(int j=c;j<=d;j++) ans += (i != j);
cout<<ans<<endl;
}
keisuke6