結果
| 問題 | No.242 ビンゴゲーム |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-10-21 23:33:08 |
| 言語 | C++23(gcc16) (gcc 16.2.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 2,000 ms |
| + 854µs | |
| コード長 | 226 bytes |
| 記録 | |
| コンパイル時間 | 1,802 ms |
| コンパイル使用メモリ | 155,996 KB |
| 実行使用メモリ | 9,916 KB |
| 最終ジャッジ日時 | 2026-10-21 23:33:27 |
| 合計ジャッジ時間 | 3,444 ms |
|
ジャッジサーバーID (参考情報) |
judge5_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 8 |
ソースコード
#include<iostream>
using namespace std;
int main(void){
int n; cin >> n;
if(n<=4){
cout << 0 << endl; return 0;
}
double p=1;
for(int i=0; i<5; i++) p*=(n-i)/(99.0-i);
printf("%.10f\n", p*12,0);
return 0;
}