結果

問題 No.863 計算量
ユーザー cidercider
提出日時 2019-08-16 22:07:18
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 298 bytes
コンパイル時間 1,583 ms
コンパイル使用メモリ 166,680 KB
実行使用メモリ 4,372 KB
最終ジャッジ日時 2023-10-23 23:40:28
合計ジャッジ時間 2,345 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include<bits/stdc++.h>
#define int long long
using namespace std;

signed main() {
	double a, b;
	cin >> a >> b;
	double x = abs(a / 5000 - b / 200000);
	double y = abs(a / 5000 / 5000 - b / 200000 / 200000);
	cerr << x << " " << y << endl;
	if (x < y)cout << 1 << endl;
	else cout << 2 << endl;
}
0