摘要:
Sagheer and Nubian Market 二分+排序 比赛时没对,赛后检查才发现check()里的参数类型是int 改成ll就对了。好气哦! 阅读全文
摘要:
Success Rate You are an experienced Codeforces user. Today you found out that during your activity on Codeforces you have made y submissions, out of w 阅读全文
摘要:
花样式过DFS题 Problem Statement Nuske has a grid with N rows and M columns of squares. The rows are numbered 1 through N from top to bottom, and the column 阅读全文
摘要:
Problem Statement Skenu constructed a building that has N floors. The building has an elevator that stops at every floor. There are buttons to control 阅读全文
摘要:
Problem Statement Snuke has N integers. Among them, the smallest is A, and the largest is B. We are interested in the sum of those N integers. How man 阅读全文
摘要:
Ball 可以用dfs,不过发现用一个循环就可以搞定。 阅读全文
摘要:
Property Distribution 题目看不懂,不过看输入输出结果猜出来了,查看所以块得到数量,DFS搜索下就可以了。 阅读全文
摘要:
Red and Black 好久没敲代码了,试了个简单的DFS题目练练手,这题就是一个DFS模板,一直写下去就行了。 阅读全文