Unverified Commit 943be801 authored by ir1d's avatar ir1d Committed by GitHub
Browse files

Update lgv.md

parent 7ed4ce35
Loading
Loading
Loading
Loading
+5 −7
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ $$
    ```cpp
    #include <algorithm>
    #include <cstdio>
    ```
    
    
    typedef long long ll;
    
@@ -76,12 +76,10 @@ $$
    	}
    	return out;
    }

    int c(int x, int y)
    {
    	return (ll) fact[x] * qpow(fact[y], mod - 2) % mod * qpow(fact[x - y], mod - 2) % mod;
    }

    int main()
    {
    	fact[0] = 1;