結果
| 問題 | No.1027 U+1F4A0 |
| コンテスト | |
| ユーザー |
onsen_manjuuu
|
| 提出日時 | 2020-06-13 17:04:07 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 275 bytes |
| 記録 | |
| コンパイル時間 | 3,132 ms |
| コンパイル使用メモリ | 183,220 KB |
| 実行使用メモリ | 7,720 KB |
| 最終ジャッジ日時 | 2026-03-11 23:34:06 |
| 合計ジャッジ時間 | 3,267 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 22 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
using ll = long long;
int main()
{
int d, e; cin >> d >> e;
if(d == e || e == 2*d) {
cout << 4 << endl;
} else if(e > d && e < 2*d) {
cout << 8 << endl;
} else{
cout << 0 << endl;
}
}
onsen_manjuuu