GCD / LCM Extended Euclid Algorithm Modular Arithmatic Chinese Remainder Theorem Bignum PELL equation (python source) Mathematics Objects Permutaion, Combination, Subset (and generators) Mobius Inversion Subset Inversion Multiprecision (bignum) FFT, FWT. NTT (TODO) Linear Algebra Matrix over a ring / ...
.cpp │ ├── 1629 - Cake slicing.cpp │ ├── 1635 - Irrelevant Elements.cpp │ ├── 1636 - Headshot.cpp │ ├── 1640 - The Counting Problem[digit].cpp │ ├── 1641 - ASCII Area.cpp │ ├── 1642 - Magical GCD.cpp │ ├── 1644 - Prime Gap.cpp │ ├── 1645...
integrity sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ== immutable@^4.0.0: version "4.1.0" resolved "https://repo.huaweicloud.com/repository/npm/immutable/-/immutable-4.1.0.tgz#f795787f0db780183307b9eb2091fcac1f6fafef" integrity sh...
"@vue/compiler-core" "3.2.45" "@vue/compiler-dom" "3.2.45" "@vue/compiler-ssr" "3.2.45" "@vue/reactivity-transform" "3.2.45" "@vue/shared" "3.2.45" estree-walker "^2.0.2" magic-string "^0.25.7" postcss "^8.1.10" source-map "^0.6.1" "@vue/compiler-ssr@3.2...
.cpp │ ├── 1629 - Cake slicing.cpp │ ├── 1635 - Irrelevant Elements.cpp │ ├── 1636 - Headshot.cpp │ ├── 1640 - The Counting Problem[digit].cpp │ ├── 1641 - ASCII Area.cpp │ ├── 1642 - Magical GCD.cpp │ ├── 1644 - Prime Gap.cpp │ ├── 1645...
.cpp │ ├── 1629 - Cake slicing.cpp │ ├── 1635 - Irrelevant Elements.cpp │ ├── 1636 - Headshot.cpp │ ├── 1640 - The Counting Problem[digit].cpp │ ├── 1641 - ASCII Area.cpp │ ├── 1642 - Magical GCD.cpp │ ├── 1644 - Prime Gap.cpp │ ├── 1645...
int GCD(int,int); void reduce(); }; rationalNumber::rationalNumber() { numerator = 0; denominator = 1; } rationalNumber::rationalNumber(int n, int d) { setTheNumerator(n); setTheDenominator(d); if(numerator < 0 && denominator < 0) { numerator *= -1; denominator *= -1; } els...
gcd(b%a, a) : b; }int main() { cin >> n >> m; while (m--) { int u,v,w; cin >> u >> v >> w; e.pb({u-1,v-1,w}); } sort(all(e));initPre(n); int i = 0; tint r1 = 1, r2 = 1; while (i < si(e)) { int j = i; while (j < si(e) && e...
prog.cpp: In member function 'void KursFakultet::postaviOpisnaOcenka(char*, char*)': prog.cpp:117:48: error: no match for 'operator+=' (operand types are 'StudentKurs' and 'char') if(studenti[i]!=0) *studenti[i]+=*opis; ^ prog.cpp: In function 'int main()': prog.cpp:153...
prog.cpp: In function 'matrix op2(matrix)': prog.cpp:192:28: error: 'abs' was not declared in this scope } while (i <= abs(num1) / 2); ^ stdout Standard output is empty https://ideone.com/khTZ0Z save cancel language: C++ (gcc 8.3)created...