{"provider_url":"https://hatena.blog","title":"SRM410 div1 medium","width":"100%","author_url":"https://blog.hatena.ne.jp/a_kawashiro/","description":"#include <algorithm> #include <vector> #include <cstdio> #include <cstring> #include <climits> using namespace std; typedef long long LL; int n; LL k; int range[55][55][2][2]; LL cache[55][55][2]; class ContiguousCache { public: LL intersect(int a1,int a2,int b1,int b2) { if(a1<=b1 && b1<=a2 && a2<=\u2026","image_url":null,"height":"190","author_name":"a_kawashiro","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa-kawashiro.hatenablog.com%2Fentry%2F20110527%2F1306505666\" title=\"SRM410 div1 medium - a_kawashiro\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","categories":["topcoder"],"blog_title":"a_kawashiro\u306e\u30d6\u30ed\u30b0","provider_name":"Hatena Blog","url":"https://a-kawashiro.hatenablog.com/entry/20110527/1306505666","published":"2011-05-27 23:14:26","type":"rich","blog_url":"https://a-kawashiro.hatenablog.com/"}