結果
| 問題 | No.799 赤黒かーどげぇむ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-11-02 20:24:01 |
| 言語 | C++14 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 2,000 ms |
| + 410µs | |
| コード長 | 432 bytes |
| 記録 | |
| コンパイル時間 | 465 ms |
| コンパイル使用メモリ | 106,676 KB |
| 実行使用メモリ | 9,776 KB |
| 最終ジャッジ日時 | 2026-08-23 03:53:33 |
| 合計ジャッジ時間 | 1,695 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 20 |
ソースコード
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <queue>
#include <cmath>
#include <climits>
#include <iomanip>
#include <set>
#include <map>
using namespace std;
typedef long long ll;
int main(){
ll a,b,c,d;
cin >> a >> b >> c >> d;
ll res = 0;
for(int i = a;i <= b;i++){
for(int j = c;j <= d;j++){
if(i != j)res++;
}
}
cout << res << endl;
}