結果
問題 | No.1027 U+1F4A0 |
ユーザー |
![]() |
提出日時 | 2020-04-17 21:21:55 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 389 bytes |
コンパイル時間 | 2,344 ms |
コンパイル使用メモリ | 190,892 KB |
最終ジャッジ日時 | 2025-01-09 19:41:25 |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 22 |
ソースコード
#include<bits/stdc++.h> #define ALL(v) std::begin(v),std::end(v) using lint=long long; using ld=long double; template<class T>using numr=std::numeric_limits<T>; int main(){ std::cin.tie(nullptr);std::ios_base::sync_with_stdio(false); std::cout.setf(std::ios_base::fixed);std::cout.precision(15); lint a,b;std::cin>>a>>b; std::cout<<(a*2==b||a==b?4:a<b&&b<a*2?8:0)<<'\n'; }