結果
問題 |
No.242 ビンゴゲーム
|
ユーザー |
![]() |
提出日時 | 2018-12-02 21:53:07 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 477 bytes |
コンパイル時間 | 2,063 ms |
コンパイル使用メモリ | 193,256 KB |
最終ジャッジ日時 | 2025-01-06 17:56:57 |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 8 |
ソースコード
#include<bits/stdc++.h> using namespace std; using Int = long long; template<typename T1,typename T2> inline void chmin(T1 &a,T2 b){if(a>b) a=b;} template<typename T1,typename T2> inline void chmax(T1 &a,T2 b){if(a<b) a=b;} struct Precision{ Precision(){ cout<<fixed<<setprecision(12); } }precision_beet; //INSERT ABOVE HERE signed main(){ int n; cin>>n; double ans=12; for(int i=0;i<5;i++){ ans*=n-i; ans/=99-i; } cout<<ans<<endl; return 0; }