
HYNU练习13
文章平均质量分 73
尹邦文
计算机科学与技术专业
展开
-
cover
Problem Description Tom wants to cover a rectangular floor by identical L-shape tiles without overlap. As shown below, the floor can be split into many small squares, and the L-shape tile consists of原创 2014-07-30 09:18:29 · 667 阅读 · 0 评论 -
循环比赛日程表
Problem Description 设有N个选手进行循环比赛,其中N=2^M,要求每名选手要与其他N-1名选手都赛一次,每名选手每天比赛一次,循环赛共进行N-1天,要求每天没有选手轮空。 Input 输入第一行为T,表示数据组数,对于每组数据就一个M(1<=M<=10)。 Output 对于每组输入的M,输出表格形式的比赛安排表 Sample Input 1 3原创 2014-08-07 14:40:12 · 952 阅读 · 0 评论 -
拦截导弹
代码: #include #include #include #include using namespace std; struct mm { int a; int b; }x[1005]; int main() { int t,max,i,j,n; string s; scanf("%d",&t); getchar(); while(t原创 2014-07-29 11:59:52 · 496 阅读 · 0 评论