結果
問題 | No.863 計算量 |
ユーザー |
![]() |
提出日時 | 2019-08-16 21:26:10 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 772 bytes |
コンパイル時間 | 981 ms |
コンパイル使用メモリ | 93,376 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-22 14:57:28 |
合計ジャッジ時間 | 1,351 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 13 |
ソースコード
#include <assert.h> #include <limits.h> #include <cmath> #include <algorithm> #include <bitset> #include <cctype> #include <complex> #include <deque> #include <iomanip> #include <iostream> #include <map> #include <numeric> #include <queue> #include <set> #include <stack> #include <string> #include <vector> using ll = long long; using P = std::pair<ll, ll>; #define rep(i, a, b) for (ll(i) = (a); i < (b); i++) #define all(i) i.begin(), i.end() #define debug(i) std::cout << i << "\n" //const ll MOD = 998244353; const ll MOD = 1e9+7; int main() { std::cin.tie(0); std::ios::sync_with_stdio(false); //問題文中の添え字が0-indexか1-indexか確認! ll a,b; std::cin>>a>>b; if(b/a>=1000)std::cout<<2<<"\n"; else std::cout<<1<<"\n"; return 0; }