結果
| 問題 |
No.863 計算量
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-01-18 18:18:24 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 1,413 bytes |
| コンパイル時間 | 815 ms |
| コンパイル使用メモリ | 90,788 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-27 23:34:32 |
| 合計ジャッジ時間 | 1,527 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 13 |
ソースコード
#include <iostream>
#include <algorithm>
#include<utility>
#include <string>
#include <vector>
#include <set>
#include <stack>
#include <queue>
#include <map>
#include <math.h>
#include <string.h>
#include<iomanip>
#include<numeric>
using namespace std;
using ll = long long;
using pll = pair<ll, ll>;
using vl = vector<ll>;
using vll = vector<vl>;
using vpll = vector<pll>;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rrep(i, n) for (int i = ((int)(n)-1); i >= 0; i--)
#define pb push_back
struct Edge{
int to;
int weight;
Edge(int t, int w) : to(t), weight(w){ }
};
using Graph = vector<vector<Edge>>;
template <class T>
inline bool chmin(T &a, T b){
if (a > b){
a = b;
return true;
}
return false;
}
template <class T>
inline bool chmax(T &a, T b){
if (a < b){
a = b;
return true;
}
return false;
}
template <class T>
T gcd(T a, T b){
if( b==0 ) return a;
else return gcd(b, a%b);
}
template <class T>
T lcm(T a, T b){
return (a*b)/gcd(a,b);
}
ll mod = 1e9+7;
template<class T>
void dcomb(T n,T m, string s){
if(n==0) cout << s << endl;
else {
for(T i=0; i<m; ++i){
dcomb(n-1,m,s+to_string(i));
}
}
}
int main(){
ll a,b;
cin >> a >> b;
ll sec = b/a;
if(sec<100){
cout << 1 << endl;
}
else{
cout << 2 << endl;
}
}