摘要:
题目链接:http://codeforces.com/problemset/problem/17/C ick likes strings very much, he likes to rotate them, sort them, rearrange characters within a stri 阅读全文
摘要:
题目链接:http://codeforces.com/problemset/problem/16/E n fish, numbered from 1 to n, live in a lake. Every day right one pair of fish meet, and the probab 阅读全文
摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=6638 There are nn pirate chests buried in Byteland, labeled by 1,2,…,n1,2,…,n. The ii-th chest's locati 阅读全文
摘要:
前提:公式必须是线性的,前几项越多越好,一般不低于8项,不然推出来不准确。 #include <bits/stdc++.h> using namespace std; typedef long long ll; typedef long long ll; typedef vector<int> VI 阅读全文
摘要:
题目链接:http://codeforces.com/problemset/problem/15/D There is an area map that is a rectangular matrix n × m, each cell of the matrix contains the avera 阅读全文
摘要:
题目链接:http://codeforces.com/problemset/problem/13/E Little Petya likes to play a lot. Most of all he likes to play a game «Holes». This is a game for o 阅读全文
摘要:
题目链接:http://codeforces.com/problemset/problem/13/C Little Petya likes to play very much. And most of all he likes to play the following game: He is gi 阅读全文
摘要:
题目链接:http://codeforces.com/problemset/problem/12/D N ladies attend the ball in the King's palace. Every lady can be described with three values: beaut 阅读全文