gcd
monotone_queue.cpp