結果

問題 No.863 計算量
ユーザー chocopuuchocopuu
提出日時 2019-08-16 21:22:55
言語 C++14
(gcc 12.2.0 + boost 1.81.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 577 bytes
コンパイル時間 1,341 ms
実行使用メモリ 6,320 KB
最終ジャッジ日時 2023-03-31 09:12:55
合計ジャッジ時間 2,297 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
6,208 KB
testcase_01 AC 2 ms
6,184 KB
testcase_02 AC 2 ms
6,260 KB
testcase_03 AC 1 ms
6,252 KB
testcase_04 AC 2 ms
6,252 KB
testcase_05 AC 1 ms
6,192 KB
testcase_06 AC 1 ms
6,320 KB
testcase_07 AC 2 ms
6,188 KB
testcase_08 AC 1 ms
6,168 KB
testcase_09 AC 1 ms
6,192 KB
testcase_10 AC 2 ms
6,204 KB
testcase_11 AC 1 ms
6,196 KB
testcase_12 AC 1 ms
6,200 KB
testcase_13 AC 1 ms
6,256 KB
testcase_14 AC 2 ms
6,172 KB
testcase_15 AC 1 ms
6,208 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
#define int long long
#define FOR(i, s, n) for (int i = (s); i < (n); i++)
#define RFOR(i, s, n) for (int i = (n) - 1; i >= (s); i--)
#define REP(i, n) FOR(i, 0, n)
#define RREP(i, n) RFOR(i, 0, n)
#define ALL(a) a.begin(), a.end()
const long long MOD = 1e9+7, INF = 1e18;
template<class T>inline bool CHMAX(T&a,T b){if(a<b){a=b;return true;}return false;}
template<class T>inline bool CHMIN(T&a,T b){if(a>b){a=b;return true;}return false;}



signed main(){
	int A,B;
	cin>>A>>B;
	if(B/A<=100)cout<<1<<endl;
	else cout<<2<<endl;
}
0