上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 50 下一页
摘要: Problem description Fafa owns a company that works on huge projects. There are n employees in Fafa's company. Whenever the company has a new project t 阅读全文
posted @ 2018-05-29 15:19 霜雪千年 阅读(250) 评论(0) 推荐(0) 编辑
摘要: Problem description Luba thinks about watering her garden. The garden can be represented as a segment of length k. Luba has got n buckets, the i-th bu 阅读全文
posted @ 2018-05-29 15:05 霜雪千年 阅读(273) 评论(0) 推荐(0) 编辑
摘要: Problem description We consider a positive integer perfect, if and only if the sum of its digits is exactly 10. Given a positive integer k, your task 阅读全文
posted @ 2018-05-29 14:41 霜雪千年 阅读(135) 评论(0) 推荐(0) 编辑
摘要: Problem description Little girl Tanya is learning how to decrease a number by one, but she does it wrong with a number consisting of two or more digit 阅读全文
posted @ 2018-05-29 14:33 霜雪千年 阅读(112) 评论(0) 推荐(0) 编辑
摘要: Problem description The following problem is well-known: given integers n and m, calculate 2n mod m, where 2n = 2·2·...·2 (n factors), and x mod y den 阅读全文
posted @ 2018-05-29 07:09 霜雪千年 阅读(128) 评论(0) 推荐(0) 编辑
摘要: Problem description You are given a rectangular board of M × N squares. Also you are given an unlimited number of standard domino pieces of 2 × 1 squa 阅读全文
posted @ 2018-05-29 06:54 霜雪千年 阅读(482) 评论(0) 推荐(0) 编辑
摘要: Problem description Petya started to attend programming lessons. On the first lesson his task was to write a simple program. The program was supposed 阅读全文
posted @ 2018-05-29 06:44 霜雪千年 阅读(158) 评论(0) 推荐(0) 编辑
摘要: Problem description "Contestant who earns a score equal to or greater than the k-th place finisher's score will advance to the next round, as long as 阅读全文
posted @ 2018-05-29 06:31 霜雪千年 阅读(395) 评论(0) 推荐(0) 编辑
摘要: Problem Description Tang and Jiang are good friends. To decide whose treat it is for dinner, they are playing a game. Specifically, Tang and Jiang wil 阅读全文
posted @ 2018-05-28 12:41 霜雪千年 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 1 //算法6.8 普里姆算法 2 #include 3 using namespace std; 4 5 typedef char VerTexType; 6 typedef int ArcType; 7 #define MVNum 100 8 #define MaxInt 32767 //表示极大值,即∞ ... 阅读全文
posted @ 2018-05-27 21:08 霜雪千年 阅读(2747) 评论(2) 推荐(0) 编辑
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 50 下一页