結果
問題 | No.863 計算量 |
ユーザー | tkr987 |
提出日時 | 2019-08-16 21:36:49 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 598 bytes |
コンパイル時間 | 1,509 ms |
コンパイル使用メモリ | 165,992 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-22 15:17:08 |
合計ジャッジ時間 | 2,143 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 13 |
ソースコード
#include <bits/stdc++.h> using namespace std; using ll = long long; using ull = unsigned long long; #ifndef __MACRO_H__ #define __MACRO_H__ #define all(collection) (collection).begin(), (collection).end() // begin to end #define rep(i, begin, end) for (ll i = begin; i < end; i++) // repeat #define repr(i, begin, end) for (ll i = begin; end < i; i--) // repeat reverse #define size(collection) ((ll) (collection).size()) // collection size #endif int main(void) { double a, b; cin >> a >> b; if (1000 <= (b / a) && (b / a) < 10000) cout << 2; else cout << 1; return 0; }