結果
問題 | No.863 計算量 |
ユーザー |
|
提出日時 | 2019-08-16 22:41:24 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 276 bytes |
コンパイル時間 | 2,366 ms |
コンパイル使用メモリ | 191,844 KB |
最終ジャッジ日時 | 2025-01-07 12:33:38 |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 13 |
ソースコード
#define _USE_MATH_DEFINES#include <bits/stdc++.h>using namespace std;signed main() {ios::sync_with_stdio(false); cin.tie(0);double a, b;cin >> a >> b;double x = a * 40;if (b <= x * 10 && b >= x / 10) cout << 1 << endl;else cout << 2 << endl;return 0;}