摘要:
There are a group of students. Some of them may know each other, while others don't. For example, A and B know each other, B and C know each other. Bu 阅读全文
posted @ 2018-03-10 22:09
晓风微微
阅读(174)
评论(0)
推荐(0)
摘要:
ZOJ Monthly, March 2018 Happy Sequence Input There are multiple test cases. The first line of the input contains an integer (about 50), indicating the 阅读全文
posted @ 2018-03-10 17:43
晓风微微
阅读(244)
评论(0)
推荐(0)
摘要:
Input Output For each test case output one line containing one integer, indicating the integer which appears in both sequences. Sample Input Sample Ou 阅读全文
posted @ 2018-03-10 17:25
晓风微微
阅读(183)
评论(0)
推荐(0)
摘要:
The bored BaoBao is playing a number game. In the beginning, there are numbers. For each turn, BaoBao will take out two numbers from the remaining num 阅读全文
posted @ 2018-03-10 17:20
晓风微微
阅读(515)
评论(0)
推荐(0)
摘要:
windy定义了一种windy数。不含前导零且相邻两个数字之差至少为2的正整数被称为windy数。 windy想知道,在A和B之间,包括A和B,总共有多少个windy数? Input 包含两个整数,A B。 Output 一个整数 Sample Input【输入样例一】 1 10 【输入样例二】 2 阅读全文
posted @ 2018-03-10 13:45
晓风微微
阅读(256)
评论(0)
推荐(0)
摘要:
Oleg writes down the history of the days he lived. For each day he decides if it was good or bad. Oleg calls a non-empty sequence of days a zebra, if 阅读全文
posted @ 2018-03-10 12:07
晓风微微
阅读(310)
评论(0)
推荐(0)
摘要:
Hacker Zhorik wants to decipher two secret messages he intercepted yesterday. Yeah message is a sequence of encrypted blocks, each of them consists of 阅读全文
posted @ 2018-03-10 11:27
晓风微微
阅读(312)
评论(0)
推荐(0)

浙公网安备 33010602011771号