摘要:
Big Event in HDU Problem Description Nowadays, we all know that Computer College is the biggest department in HDU. But, maybe you don't know that Comp 阅读全文
摘要:
A题 A. Grasshopper And the String time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output One day, 阅读全文
摘要:
zy兄发现了一个神奇的递推公式, 某些递推的题目可以看作, 一个个上三角阵, 而问题的解为(1,1) 至 (n,n) 的路径个数, 废话不多说, 上题上代码 以下转自http://www.cnblogs.com/--ZHIYUAN/p/5971367.html 小兔的棋盘 Time Limit: 1 阅读全文
摘要:
``` Problem Description Given a positive integer N, you should output the leftmost digit of N^N. Input The input contains several test cases. The firs 阅读全文
摘要:
一次生日Party可能有p人或者q人参加,现准备有一个大蛋糕.问最少要将蛋糕切成多少块(每块大小不一定相等),才能使p人或者q人出席的任何一种情况,都能平均将蛋糕分食. Input 每行有两个数p和q. Output 输出最少要将蛋糕切成多少块. Sample Input 2 3 Sample Ou 阅读全文
摘要:
time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Archeologists have found a secret pass i 阅读全文
摘要:
Bill Total Value time limit per test 1 second time limit per test memory limit per test 256 megabytes memory limit per test input standard input input 阅读全文
摘要:
http://codeforces.com/contest/727/problem/A Transformation: from A to B time limit per test 1 second time limit per test memory limit per test 256 meg 阅读全文