peltorator

Peltorator's Pastebin

5,885 83,739 0 8 years ago
Name / Title Added Expires Hits Comments Syntax  
Sum of minimums on all subsegments of an array Jan 4th, 2023 Never 1,878 0 C++ -
Li Chao Segment Tree Insert Line On Segment May 15th, 2021 Never 821 0 C++ -
Extended Li Chao Segment Tree May 13th, 2021 Never 927 0 C++ -
Li Chao Segment Tree May 13th, 2021 Never 1,112 0 C++ -
min=, max=, +=, =, sum, max, min, GCD on a segment May 7th, 2021 Never 2,126 0 C++ -
Extended Ji Driver Segment Tree (min=, max=, +=, =, sum, max, min on a segment) May 7th, 2021 Never 2,164 0 C++ -
Ji Driver Segment Tree (min=, sum on a segment) May 7th, 2021 Never 1,420 0 C++ -
%=, =, sum on a segment May 7th, 2021 Never 1,194 0 C++ -
Down Segment Tree RMQ FAST Apr 14th, 2021 Never 867 0 C++ -
RMQ O(n + q) Bit Magic FAST Apr 14th, 2021 Never 1,121 0 C++ -
RMQ O(n + q) Farach-Colton and Bender FAST Apr 14th, 2021 Never 688 0 C++ -
RMQ+-1 O(n + q) FAST Apr 7th, 2021 Never 633 0 C++ -
RMQ offline O((n + q) * alpha) Tarjan FAST Apr 7th, 2021 Never 797 0 C++ -
RMQ O(n + q) Bit Magic Apr 7th, 2021 Never 453 0 C++ -
RMQ O(n + q) Farach-Colton and Bender Apr 7th, 2021 Never 734 0 C++ -
LCA O(n + q) Farach-Colton and Bender Apr 6th, 2021 Never 543 0 C++ -
RMQ+-1 O(n + q) Apr 5th, 2021 Never 984 0 C++ -
RMQ offline O((n + q) * alpha) Tarjan Apr 5th, 2021 Never 983 0 C++ -
Difference Array: Structs Mar 8th, 2021 Never 1,915 0 C++ -
Difference Array: Basic Mar 8th, 2021 Never 2,012 0 C++ -
Prefix Sums 2D recurrent Mar 8th, 2021 Never 1,733 0 C++ -
Prefix Sums 2D from 1D Mar 8th, 2021 Never 1,168 0 C++ -
Prefix Sums: Structs Mar 8th, 2021 Never 1,289 0 C++ -
Prefix Sums: Basic Mar 8th, 2021 Never 1,832 0 C++ -
Disjoint Sparse Table: версия без дополнения до степени двойки Feb 17th, 2021 Never 1,317 0 C++ -
Disjoint Sparse Table: версия с шаблонами Feb 17th, 2021 Never 1,375 0 C++ -
Disjoint Sparse Table: простейший вариант Feb 17th, 2021 Never 1,485 0 C++ -
2-SAT May 29th, 2023 Never 808 0 C++ -
Hungarian Algorithm Apr 23rd, 2022 Never 1,046 0 C++ -
Быстрая аллокация памяти Oct 23rd, 2021 Never 902 0 C++ -
Фишки C++ Oct 23rd, 2021 Never 877 0 C++ -
KD tree Oct 9th, 2021 Never 1,013 0 C++ -
cpp ultisnips Jun 27th, 2021 Never 4,070 0 C++ -
VIMRC Jun 27th, 2021 Never 8,883 0 VIM -
Closest Pair Of Points Linear Algorithm May 20th, 2021 Never 1,386 0 C++ -
2D Down Segment Tree Point Update May 19th, 2021 Never 1,054 0 C++ -
Linear Memory Binary Liftings LCA May 17th, 2021 Never 1,520 0 C++ -
Linear Memory Binary Liftings LA May 17th, 2021 Never 774 0 C++ -
In-Code Stress Apr 20th, 2021 Never 1,163 0 C++ -
Fast popcount Apr 17th, 2021 Never 379 0 C++ -
3 способа посчитать старший бит числа Apr 17th, 2021 Never 484 0 C++ -
Modulo FFT Oct 14th, 2019 Never 478 0 C++ -
adamant hld Jun 22nd, 2019 Never 416 0 C++ -
!ratio template May 19th, 2019 Never 388 0 C++ -
Дробь между двумя другими с мин знаменателем May 19th, 2019 Never 428 0 C++ -
!Декомпозиция Потока May 5th, 2019 Never 314 0 C++ -
!mincost Форд-Беллман (spfa) May 5th, 2019 Never 378 0 C++ -
!l-r-циркуляция Диниц Apr 19th, 2019 Never 384 0 C++ -
!Форд-Фалкерсон Apr 19th, 2019 Never 431 0 C++ -
!Берликамп (OEIS во плоти) Apr 18th, 2019 Never 401 0 C++ -
Atomic HashSet Apr 18th, 2019 Never 407 0 C++ -
!hash-set (slow, stupid) Apr 12th, 2019 Never 360 0 C++ -
Skew-Heap Apr 12th, 2019 Never 390 0 C++ -
Leftist-Heap Apr 12th, 2019 Never 358 0 C++ -
!Kirk-patrick sort (works only for int32 why??) Apr 12th, 2019 Never 360 0 C++ -
Dijkstra Heap Apr 11th, 2019 Never 378 0 C++ -
heap template Apr 11th, 2019 Never 396 0 C++ -
!Атомный Кун Mar 29th, 2019 Never 383 0 C++ -
Быстрый ввод-вывод от burunduk1 Mar 8th, 2019 Never 3,013 0 C++ -
random mod inverse Mar 5th, 2019 Never 397 0 C++ -
Алгоритм МО с изменениями Nov 5th, 2018 Never 850 0 C++ -
2D Sparse Table Oct 31st, 2018 Never 615 0 C++ -
!New Long Integers Oct 15th, 2018 Never 380 0 C++ -
!Integer Geometry Oct 11th, 2018 Never 528 0 C++ -
!New Long Integers Oct 7th, 2018 Never 416 0 C++ -
Long Doubles Oct 7th, 2018 Never 431 0 C++ -
Dynamic Aho Aug 11th, 2018 Never 391 0 C++ -
!Wavelet Tree Mar 28th, 2018 Never 384 0 C++ -
!OR-XOR-AND Свертки Feb 22nd, 2018 Never 396 0 C++ -
!Recursive Parallel Binary Search Feb 21st, 2018 Never 359 0 C++ -
!Parallel Binary Search Feb 21st, 2018 Never 422 0 C++ -
!Выделение граней плоского графа Feb 20th, 2018 Never 356 0 C++ -
!DCP Jan 28th, 2018 Never 318 0 C++ -
!2-SAT (doesn't work) Jan 23rd, 2018 Never 283 0 C++ -
!ДО из CHT Jan 16th, 2018 Never 384 0 C++ -
!Стереома Рубинчика Dec 8th, 2017 Never 302 0 C++ -
!Персистентное Дерево Отрезков Dec 5th, 2017 Never 614 0 C++ -
Суффиксный массив Dec 3rd, 2017 Never 400 0 C++ -
!Double Geometry Nov 30th, 2017 Never 526 0 C++ -
FFT Jul 15th, 2017 Never 408 0 C++ -
!Персистентное Декартово Дерево Jul 15th, 2017 Never 574 0 C++ -
!Диниц с Масштабированием Jul 15th, 2017 Never 407 0 C++ -
Link-Cut Tree Jul 7th, 2017 Never 385 0 C++ -
!min-cost max flow Jul 7th, 2017 Never 360 0 C++ -
!HLD Jul 7th, 2017 Never 361 0 C++ -
Ахо-Корасик Jun 18th, 2017 Never 410 0 C++ -
!Суффиксный Автомат Jun 14th, 2017 Never 442 0 C++ -
!Суффиксное Дерево Jun 14th, 2017 Never 405 0 C++ -
Convex Hull Trick Mar 6th, 2017 Never 503 0 C++ -
Дерево Отрезков С Массовым Обновлением Feb 22nd, 2017 Never 493 0 C++ -
Центроидная Декомпозиция Feb 22nd, 2017 Never 566 0 C++ -
Sparse Table Feb 22nd, 2017 Never 387 0 C++ -
Дерево Отрезков Деревьев Отрезков Feb 22nd, 2017 Never 424 0 C++ -
Алгоритм Диница Feb 22nd, 2017 Never 461 0 C++ -
Декартово Дерево Feb 22nd, 2017 Never 427 0 C++ -
Standart Dec 7th, 2016 Never 433 0 C++ -