摘要:
IntersectionTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5120DescriptionMatt is a big fan of logo design. Recen... 阅读全文
摘要:
Dire WolfTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5115DescriptionDire wolves, also known as Dark wolves, ar... 阅读全文
摘要:
A Curious MattTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5112DescriptionThere is a curious man called Matt. ... 阅读全文
摘要:
void extend_gcd(ll a,ll &x,ll b,ll &y){ if(b==0){ x=1,y=0; return; } ll x1,y1; extend_gcd(b,x1,a%b,y1); x=y1; y=x1-(a/... 阅读全文
摘要:
C. Weakness and PoornessTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://codeforces.com/contest/578/problem/CDescriptionYou are given a sequence of n ... 阅读全文
摘要:
B. "Or" GameTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://codeforces.com/contest/578/problem/BDescriptionYou are givennnumbersa1, a2, ..., an. You ... 阅读全文