結果
| 問題 |
No.1027 U+1F4A0
|
| コンテスト | |
| ユーザー |
Abhishek Chaudhary 4-Yr B.Tech. Computer Science & Engg., IIT (BHU) Varanasi
|
| 提出日時 | 2020-04-17 21:35:09 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 1,067 bytes |
| コンパイル時間 | 1,650 ms |
| コンパイル使用メモリ | 164,684 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-03 11:33:05 |
| 合計ジャッジ時間 | 2,502 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 22 |
ソースコード
/* ****TCIITB**** */
#include<bits/stdc++.h>
#define io ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);
#define ll long long
#define pb push_back
#define endl '\n'
#define pii pair<ll int,ll int>
#define vi vector<ll int>
#define all(a) (a).begin(),(a).end()
#define F first
#define S second
#define sz(x) (ll int)x.size()
#define hell 1000000007
#define rep(i,a,b) for(ll int i=a;i<b;i++)
#define lbnd lower_bound
#define ubnd upper_bound
#define bs binary_search
#define mp make_pair
#define time cerr << "\nTime elapsed: " << 1000 * clock() / CLOCKS_PER_SEC << "ms\n";
using namespace std;
#define N 100005
int main()
{
io
ll d1,d2;
cin>>d1>>d2;
ll res=0;
if(d2<d1)
{
cout<<0<<endl;
exit(0);
}
if(d1==d2 || 2*d1==d2)
{
cout<<4<<endl;
exit(0);
}
if(2*d1<d2)
{
cout<<0<<endl;
exit(0);
}
cout<<8<<endl;
}
Abhishek Chaudhary 4-Yr B.Tech. Computer Science & Engg., IIT (BHU) Varanasi