結果
問題 |
No.1027 U+1F4A0
|
ユーザー |
![]() |
提出日時 | 2024-05-03 17:54:27 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 799 bytes |
コンパイル時間 | 3,275 ms |
コンパイル使用メモリ | 272,132 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-11-24 21:10:13 |
合計ジャッジ時間 | 4,269 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 15 WA * 7 |
ソースコード
#define _GLIBCXX_DEBUG #include <bits/stdc++.h> #include <atcoder/dsu> using namespace atcoder; using namespace std; typedef long long ll; #define rep(i,a,b) for(int i=a;i<b;i++) using vi = vector<int>; using vvi = vector<vi>; using li =vector<ll>; using lli=vector<li>; using si =vector<char>; using ssi =vector<si>; struct Edge { int to, cost; Edge(int to, int cost) : to(to), cost(cost) {} }; //using mint = modint998244353; const long long INF = 1e18; const long long MOD=1e9+7; //bit全探索 rep(i,0,1<<(n-1)){rep(j,0,n-1)if(I&(1<<j))} //int a = s[0] - ‘0’;文字列から数字 //int a=atoi(s.c_str()); //“ABCDEFGHIJKLMNOPQRSTUVWXYZ" //printf("%.9f\n", ans); //printf("%.20llf\n",solve(N)); int main() { ll r,d;cin>>r>>d; if(d>2*r)cout<<0; else if(d==2*r)cout<<4; else cout<<8; }