diff --git a/S2OJ/1887/1887.py b/S2OJ/1887/1887.py new file mode 100644 index 00000000..5a983737 --- /dev/null +++ b/S2OJ/1887/1887.py @@ -0,0 +1,5 @@ +from math import * + +n, m = map(int, input().split()) + +print(comb(n + m, m) - comb(n + m, m - 1)) diff --git a/S2OJ/1887/data/data1.in b/S2OJ/1887/data/data1.in new file mode 100644 index 00000000..4cff71c3 --- /dev/null +++ b/S2OJ/1887/data/data1.in @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37b26abc9c8e1af827e42db5e5d828ef302872d17fadc312536b91068f3e2670 +size 8 diff --git a/S2OJ/1887/data/data1.out b/S2OJ/1887/data/data1.out new file mode 100644 index 00000000..e91cf285 --- /dev/null +++ b/S2OJ/1887/data/data1.out @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a08fde0f32b767f8e2718eaa4bed2a3b9bfd13decb820bf0093c99476da87ed +size 58 diff --git a/S2OJ/1887/data/data10.in b/S2OJ/1887/data/data10.in new file mode 100644 index 00000000..136c60e4 --- /dev/null +++ b/S2OJ/1887/data/data10.in @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:616d5027ba664f8a92d71f8056971ed2c47be3318435ae98fb28b521a96ce211 +size 10 diff --git a/S2OJ/1887/data/data10.out b/S2OJ/1887/data/data10.out new file mode 100644 index 00000000..e79a2065 --- /dev/null +++ b/S2OJ/1887/data/data10.out @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:294e8399e940b54fe1cfa9ddb8a229d282717aec90cd3ed3b1401544127dc390 +size 2795 diff --git a/S2OJ/1887/data/data2.in b/S2OJ/1887/data/data2.in new file mode 100644 index 00000000..17ed61c4 --- /dev/null +++ b/S2OJ/1887/data/data2.in @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b5f2e66ce001a17823c9587c5e0c207e8bc868994ebb08ec2443ce5106ffff77 +size 4 diff --git a/S2OJ/1887/data/data2.out b/S2OJ/1887/data/data2.out new file mode 100644 index 00000000..7267a1cd --- /dev/null +++ b/S2OJ/1887/data/data2.out @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:751bf930e0aa4b43575c42233f0fb5cd4770be67d82002aed80b73d3316c4ac5 +size 4 diff --git a/S2OJ/1887/data/data3.in b/S2OJ/1887/data/data3.in new file mode 100644 index 00000000..351bfac7 --- /dev/null +++ b/S2OJ/1887/data/data3.in @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa3e1f123e7db8d0bc7bcb13e60e744b9d9948cbefba7609508d54d86ca04c94 +size 10 diff --git a/S2OJ/1887/data/data3.out b/S2OJ/1887/data/data3.out new file mode 100644 index 00000000..f8d9965e --- /dev/null +++ b/S2OJ/1887/data/data3.out @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:02a8956772b9efdbfcdb7cd9b4693ae651ef11aa96bd350de5dd156918a21a78 +size 605 diff --git a/S2OJ/1887/data/data4.in b/S2OJ/1887/data/data4.in new file mode 100644 index 00000000..c8522b0a --- /dev/null +++ b/S2OJ/1887/data/data4.in @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f15f085ded28faa664050e8d3bddbdb0f30e809f6876ea3c277235fa81d8572b +size 10 diff --git a/S2OJ/1887/data/data4.out b/S2OJ/1887/data/data4.out new file mode 100644 index 00000000..d8198f7a --- /dev/null +++ b/S2OJ/1887/data/data4.out @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:96ace6b64ff57475c7502b850b8a89b9dcf09f028573b16dd717af9d7d6326a9 +size 2077 diff --git a/S2OJ/1887/data/data5.in b/S2OJ/1887/data/data5.in new file mode 100644 index 00000000..f440b3ff --- /dev/null +++ b/S2OJ/1887/data/data5.in @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9981468ff22fe4987f806f302a8d432891956c4bf63aacc825fb6833dc768e02 +size 10 diff --git a/S2OJ/1887/data/data5.out b/S2OJ/1887/data/data5.out new file mode 100644 index 00000000..63329526 --- /dev/null +++ b/S2OJ/1887/data/data5.out @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:393bde39dc4b14f80cbe886c7a63c5918dd2adeb715aaa3d152e7ba61d7464ed +size 2745 diff --git a/S2OJ/1887/data/data6.in b/S2OJ/1887/data/data6.in new file mode 100644 index 00000000..4e8db71c --- /dev/null +++ b/S2OJ/1887/data/data6.in @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ff062284fd04c211c09c899ac3eb603a2bb9cc44f3822c73e371688f0efe812 +size 7 diff --git a/S2OJ/1887/data/data6.out b/S2OJ/1887/data/data6.out new file mode 100644 index 00000000..78dab973 --- /dev/null +++ b/S2OJ/1887/data/data6.out @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:139ef3fc26cc73ee0398a59fa54c8e66d1d05943f09ed80b751f5712e7880e56 +size 46 diff --git a/S2OJ/1887/data/data7.in b/S2OJ/1887/data/data7.in new file mode 100644 index 00000000..786e7184 --- /dev/null +++ b/S2OJ/1887/data/data7.in @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a1cef8ec5c94e13207386d13a2484af330bfc121b3c748892a010181c4b17e45 +size 6 diff --git a/S2OJ/1887/data/data7.out b/S2OJ/1887/data/data7.out new file mode 100644 index 00000000..b8fb5eb1 --- /dev/null +++ b/S2OJ/1887/data/data7.out @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ce1512f295668a068503a7bd6054e6ba7a36af078c482c2d829d73f137ccdd6c +size 30 diff --git a/S2OJ/1887/data/data8.in b/S2OJ/1887/data/data8.in new file mode 100644 index 00000000..b5594b19 --- /dev/null +++ b/S2OJ/1887/data/data8.in @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:719e23d1efde40233d74960b6ab9647b6046432e977c12c735b209f9fe9b1372 +size 10 diff --git a/S2OJ/1887/data/data8.out b/S2OJ/1887/data/data8.out new file mode 100644 index 00000000..b43aae7b --- /dev/null +++ b/S2OJ/1887/data/data8.out @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33186a9de1a6e2b231bf1e1291261119bb8a77f8b4e262047834270eb0cbe13c +size 2075 diff --git a/S2OJ/1887/data/data9.in b/S2OJ/1887/data/data9.in new file mode 100644 index 00000000..0f612579 --- /dev/null +++ b/S2OJ/1887/data/data9.in @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a7ac07762e6338809a8384242a18a524f3be60cd627aa2d7d228e9f3644740ed +size 4 diff --git a/S2OJ/1887/data/data9.out b/S2OJ/1887/data/data9.out new file mode 100644 index 00000000..9c250b21 --- /dev/null +++ b/S2OJ/1887/data/data9.out @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:357069575c5f247d2a84a756314a3383d601591ee1691bd0baf26af74d0cf2fc +size 4 diff --git a/S2OJ/1887/data/problem.conf b/S2OJ/1887/data/problem.conf new file mode 100644 index 00000000..ac04c871 --- /dev/null +++ b/S2OJ/1887/data/problem.conf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dc63997658912496991d372e002b0ed50eb07ff271aea1b0fc61a16256ed1a4a +size 208