BZOJ4590&&洛谷P4343[SHOI2015]自動刷題機

二分答案 看到有最大值最小最小值最大這類關鍵詞通常就是二分了 先二分一個上界,判斷可行,再二分一個下界判斷可行ios 代碼 //By AcerMo #include<cmath> #include<cstdio> #include<cstring> #include<iostream> #include<algorithm> #define lli long long int using name
相關文章
相關標籤/搜索