結果
| 問題 |
No.863 計算量
|
| コンテスト | |
| ユーザー |
toof
|
| 提出日時 | 2019-08-16 21:33:25 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 9 ms / 1,000 ms |
| コード長 | 621 bytes |
| コンパイル時間 | 1,783 ms |
| コンパイル使用メモリ | 191,668 KB |
| 最終ジャッジ日時 | 2025-01-07 12:11:48 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 13 |
ソースコード
#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;
}
}
toof