
Kattis
文章平均质量分 83
深海沧澜夜未央
这个作者很懒,什么都没留下…
展开
-
Kattis - hopscotch Hopscotc 组合数(逆元)
You’re playing hopscotch! You start at the origin and your goal is to hop to the lattice point (N,N)(N,N). A hop consists of going from lattice point (x1,y1)(x1,y1) to (x2,y2)(x2,y2), where x1<x2x1...原创 2018-07-25 10:44:53 · 364 阅读 · 0 评论 -
Kattis - orderlyclass Orderly Class 字符串中心对称问题
Ms. Thomas is managing her class of nn students.She placed all her students in a line, and gave the ii-th student from the left a card with the letter aiai written on it.She would now like to rear...原创 2018-07-25 10:47:23 · 354 阅读 · 0 评论 -
Kattis - politics The Uncertainty of Politics 区间首尾相间 数学期望
You have an upcoming trip to Washington D.C. and you are fascinated with the intricacies of Congressional committee hearings. You wish to attend as many hearings as possible during your trip, and your...原创 2018-07-25 11:02:02 · 303 阅读 · 0 评论 -
Kattis - froshweek2 Frosh Week 类二分图匹配
Professor Zac is trying to finish a collection of tasks during the first week at the start of the term. He knows precisely how long each task will take, down to the millisecond. Unfortunately, it is a...原创 2018-07-30 10:55:26 · 335 阅读 · 0 评论 -
Kattis - palindromicpassword Palindromic Password 求最接近的回文数
The IT department at your school decided to change their password policy. Each password will have to consist of N 6-digit numbers separated by dashes, where N will be determined by the phase of the mo...原创 2018-07-30 11:00:12 · 364 阅读 · 0 评论 -
Kattis - multiplicationgame Multiplication Game 博弈因子相乘是否等于N
Alice and Bob are in their class doing drills on multiplication and division. They quickly get bored and instead decide to play a game they invented.The game starts with a target integer N≥2, and an...原创 2018-07-30 11:03:56 · 364 阅读 · 0 评论 -
Kattis - flowfree Flow Free 多个两点的DFS
grid of cellsFlow Free is a puzzle that is played on a 2D grid of cells, with some cells marked as endpoints of certain colors and the rest of cells being blank.To solve the puzzle, you have to ...原创 2018-07-30 11:08:27 · 911 阅读 · 0 评论