01 2021 档案
摘要:原题链接:https://codeforces.com/contest/1475 A. Odd Divisor 倒着判,每次除2,时间复杂度nlogn #include<iostream> #include<cstdio> #include<cstring> #include<algorithm>
阅读全文
摘要:原题链接:https://codeforces.com/contest/1467 A. Wizard of Orz A题就WA了两发才过,真是令人难受 #include<iostream> #include<cstdio> #include<cstring> using namespace std;
阅读全文
摘要:原题链接:https://codeforces.com/contest/1472 C. Long Jumps 用过了这个数就跳过,没有用过就接着加,最后ans取最大值 #include<iostream> #include<cstdio> #include<cstring> using namesp
阅读全文
摘要:原题链接:https://codeforces.com/contest/1474 A. Puzzle From the Future 贪心,不多说 View Code B. Different Divisors 找四个数,他们之间的差最小是d,暴力+贪心,第一个数是1,最后一个数是第二个数*第三个数
阅读全文

浙公网安备 33010602011771号