結果

問題 No.1027 U+1F4A0
ユーザー kcz146
提出日時 2020-06-17 02:30:27
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 619 bytes
コンパイル時間 2,277 ms
コンパイル使用メモリ 192,164 KB
最終ジャッジ日時 2025-01-11 04:49:28
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>

using namespace std;
using ll = long long int;
using lc = complex<double>;

double dot(lc a, lc b) {
    return (a * conj(b)).real();
}
double cross(lc a, lc b) {
    return (a * conj(b)).imag();
}

int main(void) {
    constexpr ll MOD = 1e9 + 7;
    constexpr double PI = acos(-1);
    cout << fixed << setprecision(32);
    cin.tie(0); ios::sync_with_stdio(false);

    ll d1, d2;
    cin >> d1 >> d2;
    if(d1*2 < d2 || d2<d1) {
        cout << 0 << endl;
        return 0;
    }
    if(d1*2 == d2 || d1 == d2) {
        cout << 4 << endl;
        return 0;
    }
    cout << 8 << endl;
}
0