08 2020 档案
摘要:#include <iostream> #include <vector> #include <algorithm> #include <string> #include <set> #include <queue> #include <map> #include <sstream> #includ
阅读全文
摘要:#include <iostream> #include <vector> #include <algorithm> #include <string> #include <set> #include <queue> #include <map> #include <sstream> #includ
阅读全文
摘要:CF1204C Anna, Svyatoslav and Maps #include <iostream> #include <vector> #include <algorithm> #include <string> #include <set> #include <queue> #includ
阅读全文
摘要:Cow and Snacks #include <iostream> #include <vector> #include <algorithm> #include <string> #include <set> #include <queue> #include <map> #include <s
阅读全文
摘要:Tree Painting #include <iostream> #include <vector> #include <algorithm> #include <string> #include <set> #include <queue> #include <map> #include <ss
阅读全文
摘要:#include <iostream> #include <vector> #include <algorithm> #include <string> #include <set> #include <queue> #include <map> #include <sstream> #includ
阅读全文
摘要:Kabaleo Lite 用带负数的大整数用__int128 #include <bits/stdc++.h> #define ll long long using namespace std; const int MAXN=200050,INF=0x3fffffff; ll n,a[MAXN],b
阅读全文
摘要:Interesting Computer Game #include <iostream> #include <vector> #include <algorithm> #include <string> #include <set> #include <queue> #include <map>
阅读全文
摘要:Balancing Act #include <iostream> #include <vector> #include <algorithm> #include <string> #include <set> #include <queue> #include <map> #include <ss
阅读全文
摘要:How far away ? #include <iostream> #include <vector> #include <algorithm> #include <string> #include <set> #include <queue> #include <map> #include <s
阅读全文
摘要:SPOJ PT07Z, Longest path in a tree #include <iostream> #include <vector> #include <algorithm> #include <string> #include <set> #include <queue> #inclu
阅读全文
摘要:题目 通过题目条件,可以发现:一旦通过(n,k)->(nk,k)的操作来推出新的元组, n必定是k的倍数;而如果没有, 那么肯定是(xk+1,k)的形式。所以,推出第一条结论:只有在满足n=1,n是k的倍数,或者n-1是k的倍数时,(n,k)是传奇元组。 因此,我们可以认为(n,k)是传奇元组,当且
阅读全文

浙公网安备 33010602011771号