2011山东省第二届ACM大学生程序设计竞赛 Crack Mathmen 省赛 密码串
2011山东省第二届ACM大学生程序设计竞赛 Crack Mathmen 省赛 密码串
[2011山东省第二届ACM大学生程序设计竞赛],Identifiers ,省赛,ACM
2011山东省第二届ACM大学生程序设计竞赛 Mathmen 山东省赛 贪心 ACM
2011山东省第二届ACM大学生程序设计竞赛 The Android University ACM Team Selection Contest 省赛 ACM
2011山东省第二届ACM大学生程序设计竞赛 Mathman Bank 省赛 ACM
题目链接 Problem Description Fascinated with the computer games, Gabriel even forgets to study. Now she needs to finish her homework, and there is an easy problem: f(n)= She is required to ...
题意: 有n个单词,每天这个人可以背m个,问你最少几天可以背完,签到题 ...第三个案例:1个单词,每天可以背2个,一天可以背完 第四个案例:5个单词,每天可以背2个,三天可以背完 代码: #include <...
company Time Limit: 1000MS Memory Limit: 65536KB Submit Statistic ...There are n kinds of goods in the company, with each of them has a inventory of and ... direct unit ben
Binomial Coeffcients Time Limit: 1000MS Memory limit: 65536K 题目描述 ...10 2 954 723 示例输出 1 45 3557658 分析:该题目就是求组合数,C(n,m),根据杨辉三角,打
Weighted Median Time Limit: 2000ms Memory limit: 65536K 有疑问?点这里^_^ 题目描述 For n elements x1, x2, ..., xn with positive integer weights w1, w2, ..., wn. The weighted median is...
Binomial Coeffcients Time Limit: 1000ms Memory limit: 65536K 有疑问?点这里^_^ 题目描述 输入 输出 示例输入 ...10 2 ...山东省第二届ACM大学生程序设计竞赛 示例程序
Shopping Time Limit: 1000ms Memory limit: 65536K 有疑问?点这里^_^ 题目描述 Saya and Kudo go shopping ...You can assume the street as a straight line, while the shops are some points on the li
Identifiers Time Limit: 1000ms Memory limit: 65536K 有疑问?点这里^_^ 题目描述 Identifier is an important concept in the C programming language. Identifiers provide names for several ...
2012山东省第三届ACM大学生程序设计竞赛 The Best Seat in ACM Contest 山东省赛 ACM sdut2409
#include<iostream> using namespace std; int main(void) { int T;cin>>T; while(T--) { int i,j; cin>>i>>j; long long ans=0;... {...
sum of power Time Limit: 1000MS Memory Limit: 65536KB Submit Statistic Problem Description ...Calculate mod (1000000000+7) for given n,m. ...Input contains two integers n,m(1≤n≤10
题目 题解 根据题意,如果该数字的任何一种构造都存在两个连续的斐波那契数(此处的连续针对的是数字在斐波那契数列中的位置),则输出-1。 但是可以比较容易地发现:如果该数字的某种构造中存在两个连续的斐波那契...
题意:对于26个大写字母中的每一个字母operations一次就变为下一个字母,比如A操作一次变为B,B操作一次变为C,而Z操作一次变为A,给出等长的两个字符串str1,str2,问最少需要对第一个字符串str1操作几次使得其能够...
Square Number Time Limit: 1000ms Memory limit: 65536K 有疑问?点这里^_^ 题目描述 In mathematics, a square number is an integer that is the square of an integer. In other words, it is the
Bullet Time Limit:1000 msMemory Limit:65536 KiB SubmitStatisticDiscuss Problem Description In GGO, a world dominated by gun and steel, players are fighting for the honor of being the stronges...
Problem Description There are n kinds of goods in the company, with each of them has a inventory of and direct unit benefit . Now you find due to price changes, for any goods sold on day i, if its d....
题目链接 Problem Description There are n kinds of goods in the company, with each of them has a inventory of and direct unit benefit . Now you find due to price changes, for any goods sold on day i,...
Fibonacci Time Limit: 2000MS Memory limit: 131072K ...Fibonacci numbers are well-known as follow: ...Now given an integer N, please find out whether N can be represented as the sum of se
题意是给你n个数,让你求两个数相乘是平方数的对数。 直接先打一个素数表,然后把输入的每个数都从中取掉含有的平方数。得到一个新的数,在这些数中相互比较,如果两个数相等,那么代表这两个数的乘积为平方数。...
Problem Description Orz has two strings of the same length: A and B. Now she wants to transform A into an anagram of B (which means, a rearrangement of B) by changing some of its letters....
第一次參加省赛有点小激动,...第二天一早被叫醒吃早餐,好歹也是三星级的酒店,早餐就是粥。榨菜,馒头。。。不抱怨了,事实上吃着早餐有点回到南方的感觉,在南方早餐基本上就是这样。。。 吃完早餐就没事做了,1...
CF Time Limit: 1000 ms Memory Limit: 65536 KiB Problem Description LYD loves codeforces since there are many Russian contests. In an contest lasting for T minutes there are n problems, and for the...
题意: 炉石传说: 你有一张法术卡,可以从死亡的鱼人列表里召唤...m:所有的鱼人卡片攻击+2,生命+1 b:冲锋,当前回合可以直接攻击 o:冲锋,并且除了他自己有几张鱼人卡片,给自己加几点攻击 分析: 模拟,模...
题目描述Kudo’s real name is not Kudo. Her name is Kudryavka Anatolyevna Strugatskia, and Kudo is only her nickname.Now, she is facing an emergency in her hometown:Her mother is developing a new kind ...