結果

問題 No.863 計算量
ユーザー tooftoof
提出日時 2019-08-16 21:33:25
言語 C++17
(gcc 11.2.0 + boost 1.78.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 621 bytes
コンパイル時間 1,857 ms
使用メモリ 3,568 KB
最終ジャッジ日時 2022-11-22 03:49:19
合計ジャッジ時間 2,958 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 1 ms
3,540 KB
testcase_01 AC 1 ms
3,536 KB
testcase_02 AC 1 ms
3,540 KB
testcase_03 AC 2 ms
3,564 KB
testcase_04 AC 2 ms
3,548 KB
testcase_05 AC 1 ms
3,540 KB
testcase_06 AC 2 ms
3,540 KB
testcase_07 AC 2 ms
3,372 KB
testcase_08 AC 1 ms
3,364 KB
testcase_09 AC 2 ms
3,536 KB
testcase_10 AC 2 ms
3,528 KB
testcase_11 AC 1 ms
3,568 KB
testcase_12 AC 1 ms
3,492 KB
testcase_13 AC 2 ms
3,528 KB
testcase_14 AC 2 ms
3,536 KB
testcase_15 AC 2 ms
3,368 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using pii = pair<int, int>;
using vi = vector<int>;
using vl = vector<ll>;
#define rep(i, n) for(ll i = 0;i < n;i++)
#define all(i) i.begin(), i.end()
template<class T, class U> bool cmax(T& a, U b) { if (a<b) {a = b; return true;} else return false; }
template<class T, class U> bool cmin(T& a, U b) { if (a>b) {a = b; return true;} else return false; }

int main() {
  cin.tie(0); ios::sync_with_stdio(false);

  int a, b;
  cin >> a >> b;

  cerr << b/a/40 << endl;
  if (b/a/40 > 10) {
    cout << 2 << endl;
  } else {
    cout << 1 << endl;
  }
}
0