結果
| 問題 | No.799 赤黒かーどげぇむ |
| コンテスト | |
| ユーザー |
t33f
|
| 提出日時 | 2019-03-17 22:06:29 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| + 221µs | |
| コード長 | 223 bytes |
| 記録 | |
| コンパイル時間 | 279 ms |
| コンパイル使用メモリ | 72,960 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-08-11 21:39:25 |
| 合計ジャッジ時間 | 1,946 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 20 |
ソースコード
#include <iostream>
using namespace std;
int main() {
int a, b, c, d; cin >> a >> b >> c >> d;
int ans = 0;
for (int x = a; x <= b; x++) for (int y = c; y <= d; y++) if (x != y) ans++;
cout << ans << endl;
}
t33f