#23789: 愛心杰哥答案


ph28899 (黃翔暉)

學校 : 國立嘉義高級中學
編號 : 128616
來源 : [1.175.167.170]
最後登入時間 :
2021-04-06 20:21:38
d237. 質數合 -- Project Euler | From: [163.27.3.90] | 發表日期 : 2020-12-17 09:24

#include <iostream>
using namspace std;
int f(int n)
{
    int mul=1;
    for(int i=3;i<=;i++)
        mul*=i;
    return mul;
}
int main()
{
    int n,m;
    while(cin >> n >> m)
    {
        cout << f(n)/(f(n)*f(n-m)) << endl;
    }
    return 0;
}
hfqe;orghepoghehpehg[h[hbhbpobhpohbpoehpo2
htooooooooooooooooooooooooooooooooooooopoooooooooooooooooooooooooooooooooooooooooooooooooooooogjerogheophp'bhpobhpobhopbhopbjbjmr[pbr[pbwbrb
br
bjrrtbjtpbjrtb[pjtnptbjptjbptjbptjbpbjpbjpb[rjb[rptjnpb'ptjk]54jh]rek]khg]erkh4]bk4]h]54hj]nmj45]j]4jn]
/
/
/
/
/
/
/

l
l
l
l
l
l
l
l
l
l
l
l
l
l
l
l
l
l
k
k
k
gbk
gbkg
kg
k
k
k
hk
thk
thkt
k
kj
ku
jyl
gly
;6
fvl
hlt
h
rk
rkh
tku
6y
4grhk5y5l
ghk
5k5
hk
rk
k5
k

 
ZeroJudge Forum