摘要:
Sample Input Sample Output 14050 #include<cstdio> #include<cstring> #include<algorithm> using namespace std; const int maxn = 5e4+5; int w[15],v[15]; 阅读全文
摘要:
The title of this problem is familiar,isn't it?yeah,if you had took part in the "Rookie Cup" competition,you must have seem this title.If you haven't 阅读全文
摘要:
Problem Description 不知道大家有没有玩过一个叫做 九连环 的玩具,如下图所示。 如果你不了解九连环,那玄黄就带你领略九连环的奥妙: 九连环是我国传统的民间智力玩具,玩具上面有九个连环套在杆上,目标就是通过一定的方式将九个连环从杆上全部取下来。 玩法是这样的: 1、对每个环,有2种 阅读全文
摘要:
Balanced numbers have been used by mathematicians for centuries. A positive integer is considered a balanced number if: 1) Every even digit appears an 阅读全文
摘要:
soda has an integer array a1,a2,…,ana1,a2,…,an. Let S(i,j)S(i,j) be the sum of ai,ai+1,…,ajai,ai+1,…,aj. Now soda wants to know the value below: ∑i=1n 阅读全文
摘要:
Recall the definition of the median of elements where is odd: sort these elements and the median is the -th largest element. In this problem, the exac 阅读全文
摘要:
11 号上午到了济南大学,然后就是。。。走了一个中午的路emmm。。。。。济南大学真大啊,我从西门走到12号教学楼,又走到西门的大礼堂,再走回12号教学楼,热身赛结束再走回西门的宾馆,两万的步数,到了宾馆我和许哥哥的衣服都湿了。我感觉曲师校园小还挺好的。看了一下知乎才知道,济南大学还有个更大的南校区 阅读全文
摘要:
#define xhxj (Xin Hang senior sister(学姐)) If you do not know xhxj, then carefully reading the entire description is very important. As the strongest f 阅读全文
摘要:
A balanced number is a non-negative integer that can be balanced if a pivot is placed at some digit. More specifically, imagine each digit as a box wi 阅读全文
摘要:
C. Match Pointstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output You are given a set of points x1 阅读全文