摘要:
HDU - 2874 Connections between cities 题面: After World War X, a lot of cities have been seriously damaged, and we need to rebuild those cities. However 阅读全文
摘要:
6B-Binary Vector(线性独立,逆元) #include <bits/stdc++.h> using namespace std; #define ll long long using namespace std; const int mod = 1e9+7;/// 998244353; 阅读全文
摘要:
D - Sonya and Matrix Since Sonya has just learned the basics of matrices, she decided to play with them a little bit. Sonya imagined a new type of mat 阅读全文
摘要:
A. Orac and Factors 题意:每次 N 加上N的最小质因子,执行M次 题解:暴力模拟。先判断是不是质数,来减少时间,然后在M次执行中,N可能会成为偶数X,那么,接下来的质因子都为2,那么就是X+=2*T,T代表剩余多少次操作 #include <iostream> #include 阅读全文
摘要:
Vasya is an administrator of a public page of organization "Mouse and keyboard" and his everyday duty is to publish news from the world of competitive 阅读全文