結果
| 問題 | No.212 素数サイコロと合成数サイコロ (2) |
| コンテスト | |
| ユーザー |
a01sa01to
|
| 提出日時 | 2025-02-18 00:35:16 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 5,000 ms |
| コード長 | 466 bytes |
| 記録 | |
| コンパイル時間 | 2,308 ms |
| コンパイル使用メモリ | 329,216 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-07-03 01:35:27 |
| 合計ジャッジ時間 | 3,151 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#ifdef LOCAL
#include "settings/debug.cpp"
#else
#define Debug(...) void(0)
#endif
#define rep(i, n) for (int i = 0; i < (n); ++i)
using ll = long long;
using ull = unsigned long long;
int main() {
long double x = (2 + 3 + 5 + 7 + 11 + 13) / 6.0;
long double y = (4 + 6 + 8 + 9 + 10 + 12) / 6.0;
int a, b;
cin >> a >> b;
cout << fixed << setprecision(15) << powl(x, a) * powl(y, b) << endl;
return 0;
}
a01sa01to