RaFiN_

RaFiN_'s Pastebin

2,312 58,781 0 7 years ago
Name / Title Added Expires Hits Comments Syntax  
Untitled Sep 13th, 2021 Never 1,347 0 C++ -
highest number of divisors Oct 26th, 2020 Never 2,232 0 C++ -
kmp Oct 19th, 2020 Never 1,740 0 C++ -
matrix multiplication Oct 13th, 2020 Never 2,274 0 C++ -
Fermat’s little theorem Oct 13th, 2020 Never 97 0 None -
aho updated Sep 23rd, 2020 Never 583 0 C++ -
TWO SAT Sep 12th, 2020 Never 1,385 0 C++ -
Min Max LCA Sep 9th, 2020 Never 990 0 C++ -
simple sieve Sep 6th, 2020 Never 1,294 0 C++ -
segmented sieve Sep 6th, 2020 Never 1,602 0 C++ -
range update and range query with sqrt decompo Aug 29th, 2020 Never 2,412 0 C++ -
2d sparse table Aug 15th, 2020 Never 1,204 0 C++ -
cf 279E Jul 30th, 2020 Never 1,326 0 C++ -
cf 744B Jul 15th, 2020 Never 1,274 0 C++ -
codeforces 228E Jul 14th, 2020 Never 102 0 None -
Demiurges Play Again cf-538E Jul 13th, 2020 Never 95 0 None -
Sum of Remainders cf-616E Jul 12th, 2020 Never 1,158 0 C++ -
cses number spiral Jul 11th, 2020 Never 133 0 None -
cses two knights Jul 11th, 2020 Never 114 0 None -
Palindrome-less Arrays cf-1140E Jul 9th, 2020 Never 97 0 None -
Hamiltonian Spanning Tree cf-618D Jul 9th, 2020 Never 100 0 None -
kth path- cf 1196F Jul 9th, 2020 Never 105 0 None -
functional graph Jul 8th, 2020 Never 103 0 None -
Modular inverse of 1 to n in O(n) time Jul 7th, 2020 Never 125 0 None -
cf -402E Jul 7th, 2020 Never 1,001 0 C++ -
strongly connected compo by _Ash__ Jul 7th, 2020 Never 1,009 0 C++ -
1100E - Andrew and Taxi cf-1100E Jul 6th, 2020 Never 1,862 0 C++ -
Tanzir vai dinic Jul 6th, 2020 Never 843 0 C++ -
Keyboard Purchase - cf-1238E Jul 6th, 2020 Never 97 0 None -
Permutation Separation cf-1295E Jul 5th, 2020 Never 138 0 C++ -
Erase Subsequences cf-1303E Jul 5th, 2020 Never 1,207 0 C++ -
Mr. Kitayuta's Technology cf - 506B Jul 5th, 2020 Never 796 0 C++ -
Three States cf-590C Jul 4th, 2020 Never 1,374 0 C++ -
Trips cf-1037E Jul 4th, 2020 Never 1,008 0 C++ -
Happy Line cf -549G Jul 4th, 2020 Never 105 0 None -
Super M cf - 592D Jul 4th, 2020 Never 104 0 None -
Makoto and a Blackboard cf-1097D Jul 3rd, 2020 Never 1,383 0 C++ -
Kuroni and the Score Distribution cf-1305E Jul 1st, 2020 Never 123 0 None -
Kaavi and Magic Spell-cf-1336C Jul 1st, 2020 Never 925 0 C++ -
Infinite Path cf-1327D Jul 1st, 2020 Never 875 0 C++ -
1051F - The Shortest Statement Jun 29th, 2020 Never 116 0 None -
Finding LCA Jun 29th, 2020 Never 931 0 C++ -
Bombs-cf-1326E Jun 28th, 2020 Never 104 0 None -
Mike and distribution cf-798D Jun 26th, 2020 Never 99 0 None -
Team Work cf-932E Jun 25th, 2020 Never 101 0 None -
Buy Low Sell High: cf - 867E Jun 25th, 2020 Never 95 0 None -
DZY Loves Fibonacci Numbers,CF - 446C Jun 24th, 2020 Never 126 0 None -
Bignum Jun 20th, 2020 Never 1,577 0 C++ -
factorial number system and finding lex permutation Jun 9th, 2020 Never 807 0 CSS -
2D BIT Jun 6th, 2020 Never 833 0 C++ -
Dynamic Convex Hull Trick May 29th, 2020 Never 1,711 0 C++ -
knuth optimization in D&C May 12th, 2020 Never 1,011 0 C++ -
knuth optimization May 12th, 2020 Never 797 0 C++ -
fermat's little theorem May 10th, 2020 Never 97 0 None -
Convex Hull Trick Dp optimization May 2nd, 2020 Never 535 0 C++ -
Burnside Lemma Apr 22nd, 2020 Never 106 0 None -
solving domino tiling problems Mar 23rd, 2020 Never 144 0 None -
bayre moore algo Feb 3rd, 2020 Never 120 0 None -
leetcode complex number multiplication Dec 31st, 2019 Never 124 0 C++ -
LIS small codes Dec 25th, 2019 Never 199 0 C++ -
reverse the 2nd half and check pallin linked list Dec 25th, 2019 Never 189 0 C++ -
boyer moore voting algo Dec 24th, 2019 Never 170 0 None -
max product subarray Dec 23rd, 2019 Never 161 0 C++ -
inorder traversal Dec 20th, 2019 Never 177 0 C++ -
largest subarray sum using divide and conquer Dec 20th, 2019 Never 173 0 None -
rotate matrix without using any extra space Dec 20th, 2019 Never 167 0 C++ -
longest pallindromic substring in better time Dec 18th, 2019 Never 312 0 C++ -
Xor of all subsets of a given set of size n Nov 9th, 2019 Never 156 0 C++ -
Expected value Theory Oct 4th, 2019 Never 193 0 None -
Triple sum Sep 27th, 2019 Never 285 0 C++ -
multiply two big number using FFT Sep 27th, 2019 Never 265 0 C++ -
FFT Sep 26th, 2019 Never 287 0 C++ -
nth fibonacci number Sep 8th, 2019 Never 211 0 C++ -
how to check ancestor without LCA Aug 31st, 2019 Never 306 0 None -
cf 403D Aug 25th, 2019 Never 354 0 C++ -
seereja and two sequences Aug 24th, 2019 Never 195 0 C++ -
cf 463E Aug 19th, 2019 Never 142 0 C++ -
438D - The Child and Sequence Aug 16th, 2019 Never 150 0 None -
closest pair of points in 2D plane Aug 16th, 2019 Never 163 0 C++ -
how many continuous segment of sum zero Aug 15th, 2019 Never 175 0 C++ -
how many pairs whose gcd is 1 cf 547c Aug 14th, 2019 Never 191 0 C++ -
mobious function Aug 13th, 2019 Never 179 0 C++ -
count given N points how many squares parallel to XY axis ca Aug 9th, 2019 Never 214 0 C++ -
tree dp with prefix and suffix dp Aug 9th, 2019 Never 178 0 C++ -
Suffix Array Aug 3rd, 2019 Never 183 0 C++ -
taking a list of numbers as input in one line Jul 14th, 2019 Never 183 0 Python -
java fast i/o Jul 12th, 2019 Never 278 0 Java -
CRT Jul 9th, 2019 Never 509 0 C++ -
Sprague Grundy Dividing Piles Jul 8th, 2019 Never 199 0 C++ -
java BigInteger and BigDecimal Jul 6th, 2019 Never 187 0 Java -
obtain array b from array a by sorting a range any number of Jul 1st, 2019 Never 173 0 C++ -
dp on tree Jul 1st, 2019 Never 509 0 C++ -
count how many distinct subsequence of length j of a string Jun 26th, 2019 Never 155 0 C++ -
Count how many distinct subsequences of a string Jun 26th, 2019 Never 175 0 C++ -
pallindromic tree May 17th, 2019 Never 214 0 C++ -
how many pairs in a tree that .... Apr 27th, 2019 Never 144 0 C++ -
dsu on tree Apr 26th, 2019 Never 200 0 C++ -
pollard-rho Apr 25th, 2019 Never 201 0 C++ -
miller_rabin Apr 25th, 2019 Never 208 0 C++ -
Dynamic Segment tree Apr 22nd, 2019 Never 229 0 C++ -