摘要:
title: Bus System tags: [最短路] "题目链接" Problem Description Because of the huge population of China, public transportation is very important. Bus is an i 阅读全文
摘要:
"题目链接" Description Businesses like to have memorable telephone numbers. One way to make a telephone number memorable is to have it spell a memorable w 阅读全文
摘要:
"题目链接" (广搜 优先队列 邻接表) Description N cities named with numbers 1 ... N are connected with one way roads. Each road has two parameters associated with it 阅读全文
摘要:
描述 zyc从小就比较喜欢玩一些小游戏,其中就包括画一笔画,他想请你帮他写一个程序,判断一个图是否能够用一笔画下来。 规定,所有的边都只能画一次,不能重复画。 输入 第一行只有一个正整数N(N define maxv 1001 using namespace std; int p,q; int ve 阅读全文
摘要:
"题目链接" 描述 假设表达式定义为: 1. 一个十进制的正整数 X 是一个表达式。 2. 如果 X 和 Y 是 表达式,则 X+Y, X Y 也是表达式; 优先级高于+. 3. 如果 X 和 Y 是 表达式,则 函数 Smax(X,Y)也是表达式,其值为:先分别求出 X ,Y 值的各位数字之和,再 阅读全文
摘要:
"题目链接" 描述 There is an apple tree outside of kaka's house. Every autumn, a lot of apples will grow in the tree. Kaka likes apple very much, so he has b 阅读全文
摘要:
title: Supermarket tags: [贪心,并查集] "题目链接" 描述 A supermarket has a set Prod of products on sale. It earns a profit px for each product x∈Prod sold by a d 阅读全文
摘要:
描述 An ascending sorted sequence of distinct values is one in which some form of a less than operator is used to order the elements from smallest to la 阅读全文