摘要:
Problem Description A histogram is a polygon composed of a sequence of rectangles aligned at a common base line. The rectangles have equal widths but 阅读全文
摘要:
解决方法:找到 C:\Program Files (x86)\Microsoft Office\root\Office16\STARTUP目录下的MathType Commands 6 For Word 2016.dotm文件并删除; 此时不会再弹mathtype的错误窗口,mathtype选项也会 阅读全文
摘要:
描述 n个人在做传递物品的游戏,编号为1-n。 游戏规则是这样的:开始时物品可以在任意一人手上,他可把物品传递给其他人中的任意一位;下一个人可以传递给未接过物品的任意一人。 即物品只能经过同一个人一次,而且每次传递过程都有一个代价;不同的人传给不同的人的代价值之间没有联系;求当物品经过所有n个人后, 阅读全文
摘要:
Sumsets Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description Farmer John commanded his cows to search for different sets of nu 阅读全文
摘要:
不容易系列之(4)——考新郎 Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description 国庆期间,省城HZ刚刚举行了一场盛大的集体婚礼,为了使婚礼进行的丰富一些,司仪临时想出了有一个有意思的节目,叫做"考 阅读全文
摘要:
超级楼梯 Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description 有一楼梯共M级,刚开始时你在第一级,若每次只能跨上一级或二级,要走上第M级,共有多少种走法? Input 输入数据首先包含一个整数N,表 阅读全文
摘要:
阿牛的EOF牛肉串 Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description 今年的ACM暑期集训队一共有18人,分为6支队伍。其中有一个叫做EOF的队伍,由04级的阿牛、XC以及05级的COY组成。在共 阅读全文
摘要:
子串查询 Time Limit: 3500/3000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 835 Accepted Submission(s): 409 Problem De 阅读全文
摘要:
B. Maximum Sum of Digits time limit per test 2 seconds memory limit per test 512 megabytes input standard input output standard output You are given a 阅读全文
摘要:
题目链接 http://codeforces.com/contest/1058/problem/C 这题还是暴力最方便,和的情况最多有n*a[i] 900种把每种都试一遍 1 #include<bits/stdc++.h> 2 using namespace std; 3 int n; 4 stri 阅读全文