MIT Programming Contest Team Contest 1 Problems 2008
|
|
- Morris Baker
- 5 years ago
- Views:
Transcription
1 MIT Programming Contest Team Contest 1 Problems 2008 October 5, Edit distance Given a string, an edit script is a set of instructions to turn it into another string. There are four kinds of instructions in an edit script: Add ( a ): Output one character. This instruction does not consume any characters from the source string. Delete ( d ): Delete one character. That is, consume one character from the source string and output nothing. Modify ( m ): Modify one character. That is, consume one character from the source string and output a different character. Copy ( d ): Copy one character. That is, consume one character from the source string and output the same character. A shortest edit script is an edit script that minimizes the total number of adds, deletes, and modifies. Given two strings, generate a shortest edit script that changes the first into the second. Input The input consists of two strings on separate lines. The strings contain only alphanumeric characters. Each string has length between 1 and 17000, inclusive. 1
2 Output The output is a shortest edit script. Each line is one instruction, given by the one-letter code of the instruction (a, d, m, or c), followed by a space, followed by the character written (or deleted if the instruction is a deletion). In case of a tie, you may generate any shortest edit script. Example Sample Input abcde xabzdey Sample Output a x c a c b m z c d c e a y 2
3 2 Fish Catch Fishermen of New England like to catch so called SLSS fish. SLSS stands for straight line same speed fish, because such fish is very lazy and rarely changes its speed and direction of travel. Fishermen bring a net in a shape of a circle, that has an adjustable radius. They locate the best position for the center of the net, based on their visual observation of high concentration of fish. There are N fish. They also write down the initial position and the direction of travel of each fish. Their plan is to catch K fish in order to make a nice dinner for their families. However, they don not want to catch many more fish, so that there is enough fish left in the Ocean. They need to set a proper radius length of the net, which leads them to a hard computational problem. As a fishermen s friend, please help them to find the smallest radius of the net such that there is a moment when they can dip the net into the Ocean and catch at least K fish. Input The first line of the input contains two integers C x and C y separated by a space character (1 C x, C y 10 4 ), that represent the coordinates of the center of the net. The second line of the input contains two integers N and K separated by a space character (5 N 1000, 1 K N). Each of the next N lines contain four integers A x, A y, B x, B y separated by a space character (0 A x, A y, B x, B y 10 4 ). A x and A y represent the initial coordinates of a fish (at time zero), while B x and B y represent the estimated coordinates of a fish after 1 second. Note that fishermen can use the net at any moment starting from time zero. Output In the first line of the output write one real number R using exactly 5 decimal digits of precision which is the desired radius of the net. It should be followed by a newline. Example Sample Input Sample Output
4 This page was intentionally left blank. 4
5 3 The (Bayesian) Hound and the Hare Researchers have discovered that hounds are extremely intelligent so intelligent, in fact, that they use Bayesian statistics to hunt down their prey. As an experiement, researchers studying these hounds blindfold one and put it in a maze laid out on a square grid. They put a hare somewhere else in the maze. Once every second, the hare takes a step one unit in a random direction (no diagonals), chosen uniformly at random among the directions that aren t blocked by walls. Sometimes, when the hare takes a step, it makes a little bit of noise at its new position. The hound hears the noise with a certain amount of uncertainty σ that is, if the hare is at position (x, y), then the hound thinks that it heard the hare at position (x, y ) with probability N exp (((x x ) 2 + (y y ) 2 )/(2σ 2 )), where N is an appropriate normalization factor. After every step the hare takes, the hound moves one unit in the direction (North, East, South, or West, or not moving at all) that mininizes the expected shortest-path distance to the hare. In case of a tie, the hound favors not moving, then North, then East, then South, then West. (That is, the hound first considers whether to stay go West; then, if the expected distance if it goes South is better or within 10 5, the hound considers going West; then South; then North; then staying still.) Neither the hound nor the hare can walk into a wall or on a diagonal, and the hound knows this. The hound has a perfect memory and knows the exact layout of the maze. The hound assumes that the hare starts at a uniform random location within the maze. The hound assumes that it could occupy the same space as the hare without realizing it. Write a program that determines what path the hound takes given a sequence of observations. Input The maze has dimension X units West to East by Y units North to South. The first line of input is two numbers, X and Y. You may assume that 3 X, Y 100. This is followed by a map of the maze. The first line corresponds to the northernmost strip of the maze, and the first column is the western side. A # indicates a wall, a. indicates open space, and a h marks the starting position of the hound. The sides of the maze are always walls, and the interior of the maze is connected. The map of the maze is followed by σ, an integer, on one line. You may assume that σ 1. The remainder of the input is a series of observations, one line per second. A line that contains silence indicates that the hound hears nothing, and a line that contains two integers gives the coordinates column, row where northwest corner of the maze is (0,0) in which the hound thinks it heard the hare. Note that the coordinates may be outside the maze. 5
6 Output For each observation, output N, S, E, W, or. if the hound goes North, South, East, West, or stays still, respectively, after each observation. Example Sample Input #################### #################### ####...h...##### ####.#########.##### ####.#########.##### ####.#########.##### ####.#########.##### ####.#########.##### ####...##### ####.#########.##### ####.#########.##### ####.#########.##### ####...##### #########.########## #########.########## #########.########## #########.########## #################### #################### #################### 5 silence silence silence Sample Output E E E E E S 6
7 4 Infinite Game Krzysztof had a little too much to drink tonight and is now walking around aimlessly. He has two sets of moves A, B. Each of A, B is a finite subset of the positive integers. Krzysztof starts off standing at 0, and at each step he either takes a step to the right by an integer in A, or takes a step to the left by an integer in B. In odd-numbered steps his move must be from A, and in even-numbered steps his move must be from B (the first step he makes is considered step number 1). Is it true that for every integer x (both the positives and the negatives), Krzysztof can eventually reach x? Input The first line contains a positive integer t, the number of test cases (1 t 500). t sets of lines then follow. Each set of lines start with a line with two space-separated integers n, m (1 n, m 10000), denoting the sizes of A and B, respectively. n lines then follow listing the elements of A, then m lines follow listing the elements of B. Each element of A, B will be an integer between 1 and 10 9, inclusive. Output For each test case output YES if Krzysztof can eventually reach all integers; else output NO. The word you output should be followed by a newline. Example Sample Input Sample Output NO YES 7
8 This page was intentionally left blank. 8
9 5 Minesweeper In the game of minesweeper, you are shown a grid. Some cells in the grid contain mines. If you think that a cell does not contain a mine, you can reveal that cell. If the cell contained a mine, you lose, but if not, then you learn how many neighboring cells, including diagonals, also contain mines. Given a minesweeper grid, determine which cells must contain mines and which cells cannot contain mines. Input The first line of input is two integers, the width and height of the grid. The remainder of the input is an image of the grid. A cell containing a digit is revealed, which means that it contains no mine and that the number of adjacent mines (including diagonals) is that digit. A cell containing a period is not revealed. The grid is at most 30 columns by 16 rows. This problem is, in general, hard, so we will not give input in which the number of possible arrangements of mines adjacent to revealed cells is more than a few tens of thousands. We also guarantee that there is at least one valid arrangement of mines. Output Output an image of the grid. Each revealed cell should have its digit printed, cells that must contain mines are marked by *, and cells that cannot contain mines but are not revealed are marked by a space. Example Sample Input Sample Output * * * **
10 This page was intentionally left blank. 10
11 6 Space Boomerang Far outside of our universum, kids of a hyperspace creatures play the following game. They have a boomerang toy that they can program and throw. Naturally, they want it to come back to the same location. To program it, they have a bunch of modules that they can install into it. Each module gives it power along a specific direction. For each module they install, they enter a non-zero distance that the toy will move along that direction (obviously, they do not have to install all of them in one game). Distance can be both positive and negative, where negative distance means that it travels in the opposite direction. After programming, they throw the boomerang. It travels thorugh the space in a funny way (it moves using modules simultaneously, until they are all out of power). Of course, they repeat the game many times. Modules can be reused. They would like to maximize their fun by using different modules. However, some of them might be useless, because it not possible to use them and make boomerang coming back to the same location. Please, help the kids to find such modules! Input The first line of the input contains two integers M and N separated by a space character (1 M 3000, 1 N 300). M is the number of modules, and N is the number of dimensions of the hyperspace. Each of the next M lines contain N real numbers separated by a space character that represent coordinates of a direction in N-dimenional space for the coresponding module. Modules are indexed by numbers 1 through M, in the order given in the input. Each coordinate is given with at most two decimal digits, and its absolute value is not grater than Output In the first line of the output write one integer K, which is the number of useless modules. In the next K lines write indices of those modules, one per line, in the same order as they appear in the input. Terminate each line with a newline character. Example Sample Input Sample Output
12 This page was intentionally left blank. 12
13 7 Rectangles There are N axis-parallel rectangles in the plane. Calculate the total area they cover. Input The first line contains a positive integer N (1 N 200, 000). N lines then follow, each with four space-separated values x 1 x 2 y 1 y 2 denoting the rectangle [x 1, x 2 ] [y 1, y 2 ]. Each of the values x 1, x 2, y 1, y 2 are integers between 0 and 10 9, inclusive, and for a given rectangle x 1 < x 2 and y 1 < y 2 always. Output Output the total area covered by the given N rectangles. Any region covered by multiple rectangles should only be counted once. Example Sample Input Sample Output 5 13
14 This page was intentionally left blank. 14
15 8 Spanning Trees Count the number of minimum-weight spanning trees of a connected weighted multigraph (there can be self-loops, as well as multiple edges between any two vertices). In the input graph, no edge weight appears more than 4 times. Input The first line of the input contains two integers N and M separated by a space character (1 N , 1 M 10 5 ). N is the number of vertices, and M is the number of edges of a graph. Vertices are indexed with numbers 1 through N. Each of the next M lines contain three integers a, b, w, separated by a space character (1 a, b N, 1 w 2 30 ), meaning that there is an edge of weight w between vertices a and b. Output Write one integer K followed by a newline, which is the number of minimum spanning trees modulo Example Sample Input Sample Output 5 15
16 This page was intentionally left blank. 16
Treasure Map. Output. Output a single integer, which is the maximum amount of gold that you can collect.
Treasure Map You have found a treasure map! The map leads you to several gold mines. The mines each produce gold each day, but the amount of gold that they produce diminishes each day. There are paths
More informationMathZoom, Summer, 2014
A one-dimensional bug starts at the origin and each minute moves either left or right exactly one unit. Suppose it makes there moves with equal likelihood. That is the probability of a move to the left
More informationProblem A. Interactive Smiley Face
Problem A. Interactive Smiley Face 1 second Igor likes smiley faces a lot. He wrote a program that generates really large pictures of white and black pixels with smiley faces. Depending on Igor s mood,
More informationIntermediate Mathematics League of Eastern Massachusetts
Meet # January 010 Intermediate Mathematics League of Eastern Massachusetts Meet # January 010 Category 1 - Mystery Meet #, January 010 1. Of all the number pairs whose sum equals their product, what is
More informationIntegers and Rational Numbers
A A Family Letter: Integers Dear Family, The student will be learning about integers and how these numbers relate to the coordinate plane. The set of integers includes the set of whole numbers (0, 1,,,...)
More informationUNC Charlotte 2010 Comprehensive
00 Comprehensive with solutions March 8, 00. A cubic equation x 4x x + a = 0 has three roots, x, x, x. If x = x + x, what is a? (A) 4 (B) 8 (C) 0 (D) (E) 6 Solution: C. Because the coefficient of x is
More informationBulgarian Math Olympiads with a Challenge Twist
Bulgarian Math Olympiads with a Challenge Twist by Zvezdelina Stankova Berkeley Math Circle Beginners Group September 0, 03 Tasks throughout this session. Harder versions of problems from last time appear
More informationLESSON 1: INTRODUCTION TO COUNTING
LESSON 1: INTRODUCTION TO COUNTING Counting problems usually refer to problems whose question begins with How many. Some of these problems may be very simple, others quite difficult. Throughout this course
More informationMillionaire. Input. Output. Problem limit seconds
Millionaire Congratulations! You were selected to take part in the TV game show Who Wants to Be a Millionaire! Like most people, you are somewhat risk-averse, so you might rather take $250,000 than a 50%
More informationProCo 2017 Novice Division Round 1
ProCo 017 Novice Division Round 1 Problem A. How far you ll go file: 64 megabytes Before you embark on this journey to help Moana, you should write some words of encouragement to yourself. None Print a
More informationWritten test, 25 problems / 90 minutes
Sponsored by: UGA Math Department and UGA Math Club Written test, 5 problems / 90 minutes October 1, 017 Instructions 1. At the top of the left of side 1 of your scan-tron answer sheet, fill in your last
More informationPLU February 2018 Programming Contest. Advanced Division
I. General Notes PLU February 018 Programming Contest Advanced Division 1. Do the problems in any order you like. They do not have to be done in order from 1 to 1.. Problems will have either no input or
More informationTN READY PRACTICE TEST DATE PERIOD Q4 TEST #1 PART 1 NO CALCULATOR
NAME TN READY PRACTICE TEST DATE PERIOD Q4 TEST #1 PART 1 NO CALCULATOR 1. Between which two consecutive rational numbers is each irrational number? Choose two consecutive rational numbers for each irrational
More informationPrime Time (Factors and Multiples)
CONFIDENCE LEVEL: Prime Time Knowledge Map for 6 th Grade Math Prime Time (Factors and Multiples). A factor is a whole numbers that is multiplied by another whole number to get a product. (Ex: x 5 = ;
More informationSolving Minesweeper Using CSP
Solving Minesweeper Using CSP AI Course Final Project Gil & Chai Usage (After using Makefile) java player/aiplayer
More informationNumber/Computation. addend Any number being added. digit Any one of the ten symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, or 9
14 Number/Computation addend Any number being added algorithm A step-by-step method for computing array A picture that shows a number of items arranged in rows and columns to form a rectangle associative
More informationplace value Thousands Hundreds Tens Units
Number add total altogether sum plus + take away subtract minus the difference multiply times lots of groups of product divide share equally remainder (rem.) digit two digit numbers three digit numbers
More informationPacific Northwest Region Programming Contest Division 2
Pacific Northwest Region Programming Contest Division 2 November 14th, 2015 Reminders For all problems, read the input data from standard input and write the results to standard output. In general, when
More informationYou may use a calculator for these practice questions. You may
660 Math Smart Practice Questions You may use a calculator for these practice questions. You may not know all the math to complete these practice questions yet, but try to think them through! 1. Eric lives
More informationIntegers and the Coordinate Plane
Name Date Class 9A Dear Family, A Family Letter: Understanding Integers The student will begin the study of an important set of numbers called integers. Integers are the set of numbers that include all
More informationHigh School Programming Tournament: Online Edition. Problems
Seventh Annual University of Central Florida High School Programming Tournament: Online Edition Problems Problem Name Hyenas in the Pridelands Infinite Keyboard Overgrown Mazes Perfect Number of Windows
More informationThe Crooked Foundation The Bird House. 100ft. Inter-Island Journey. East Fence. 150ft. South Fence
13.1 - Opening Per Date It is another beautiful day on the Big Island, and Grandma is out and about planning her net set of projects. First she wants to build a bird house for her new team of homing pigeons.
More information2013 Four-by-Four Competition Thursday, January 31st, Round Four-by-Four Competition Thursday, January 31st, 2013.
Round 1 Round 1 1. What is the sum of the terms of an infinite geometric sequence with first term 2016 and common ratio? 2. In how many distinguishable ways can five extra copies of your sided house key
More informationMML Contest #1 ROUND 1: VOLUME & SURFACES
MML Contest # ROUND : VOLUME & SURFACES A) The base of a right pyramid is a square with perimeter 0 inches. The pyramid s altitude is 9 inches. Find the exact volume of the pyramid. A) The volume of a
More informationHMMT February 2018 February 10, 2018
HMMT February 2018 February 10, 2018 Combinatorics 1. Consider a 2 3 grid where each entry is one of 0, 1, and 2. For how many such grids is the sum of the numbers in every row and in every column a multiple
More informationThere system is working in base 8 and thus in order to interpret their numbers to decimal system each item is a place value to the power 8.
Alien Numeric Lanugage In the supposedly uninhabited Alien Desert, an alien species has been discovered. The aliens have only 3 fingers and a thumb on each hand, and thus have their own numbering system.
More information2016 靜宜大學全國程式競賽題目. Problem1:Largest Square. Description
Problem1:Largest Square 2016 靜宜大學全國程式競賽題目 Given a rectangular grid of characters you have to find out the length of a side of the largest square such that all the characters of the square are same and
More informationProblem A: Collatz Conjecture
Problem A: Collatz Conjecture The Collatz conjecture which is also known as the 3n + conjecture is a very well known and old conjecture in mathematics. The conjecture is as follows. Take any natural number
More informationBasic Idea. The routing problem is typically solved using a twostep
Global Routing Basic Idea The routing problem is typically solved using a twostep approach: Global Routing Define the routing regions. Generate a tentative route for each net. Each net is assigned to a
More information1. One-third of 105 is the same as seven-sixths of what number? 1.
Blitz, Page. One-third of 05 is the same as seven-sixths of what number?. 2. A rectangle has length 6 and width 2. What is the radius of the 2. units circle that passes through the four vertices of the
More informationA triangle that has three acute angles Example:
1. acute angle : An angle that measures less than a right angle (90 ). 2. acute triangle : A triangle that has three acute angles 3. angle : A figure formed by two rays that meet at a common endpoint 4.
More informationName: Pythagorean Theorem February 3, 2014
1. John leaves school to go home. He walks 6 blocks North and then 8 blocks west. How far is John from the school? 5. A 26 foot long ladder is leaning up against a house with its base 10 feet away from
More informationProblem A Colourful Graph Time limit: 5 seconds
Problem A Colourful Graph Time limit: 5 seconds Consider an undirected graph on n vertices. A k-colouring of the graph is simply an assignment to each vertex one of the k colours. There are no other restrictions
More informationPacific Northwest Region Programming Contest Division 2
Pacific Northwest Region Programming Contest Division 2 November 11th, 2017 2017 Pacific Northwest Region Programming Contest 2 Reminders For all problems, read the input data from standard input and write
More informationTable of Contents. Foundations 5p Vocabulary List
Table of Contents Objective 1: Review (Natural Numbers)... 3 Objective 2: Reading and Writing Natural Numbers... 5 Objective 3: Lines: Rays, and Line Segments... 6 Objective 4: Comparing Natural Numbers...
More informationActivity The Coordinate System and Descriptive Geometry
Activity 1.5.1 The Coordinate System and Descriptive Geometry Introduction North, east, south, and west. Go down the street about six blocks, take a left, and then go north for about 2 miles; you will
More informationCompetitive Programming Network - 2nd Activity March 11th, Alphabet.c, Alphabet.cpp, Alphabet.java, Alphabet.py Standard Standard
Problem A. Alphabet Source file name: : : Alphabet.c, Alphabet.cpp, Alphabet.java, Alphabet.py A string of lowercase letters is called alphabetical if deleting zero or more of its letters can result in
More informationDecimals should be spoken digit by digit eg 0.34 is Zero (or nought) point three four (NOT thirty four).
Numeracy Essentials Section 1 Number Skills Reading and writing numbers All numbers should be written correctly. Most pupils are able to read, write and say numbers up to a thousand, but often have difficulty
More informationProblem A limit 1 second. Alphabet
Problem A limit 1 second Alphabet A string of lowercase letters is called alphabetical if deleting zero or more of its letters can result in the alphabet string abcdefghijklmnopqrstuvwxyz. Given a string
More informationACT Math test Plane Geometry Review
Plane geometry problems account for 14 questions on the ACT Math Test that s almost a quarter of the questions on the Subject Test. If you ve taken high school geometry, you ve probably covered all of
More informationExploring Fractals through Geometry and Algebra. Kelly Deckelman Ben Eggleston Laura Mckenzie Patricia Parker-Davis Deanna Voss
Exploring Fractals through Geometry and Algebra Kelly Deckelman Ben Eggleston Laura Mckenzie Patricia Parker-Davis Deanna Voss Learning Objective and skills practiced Students will: Learn the three criteria
More informationMaximum and Minimum Problems
Maximum and Minimum Problems Numbers 1. The sum of two positive numbers is 20. Find the two numbers such that a) the sum of the square is minimum, b) the product of one and the square of the other is maximum.
More informationACT SparkNotes Test Prep: Plane Geometry
ACT SparkNotes Test Prep: Plane Geometry Plane Geometry Plane geometry problems account for 14 questions on the ACT Math Test that s almost a quarter of the questions on the Subject Test If you ve taken
More informationIn the figure show below, the measure of angle x is 150 since the sum of the remote interior angles is
Exterior angles of a triangle An exterior angle of a triangle is equal to the sum of the remote interior angles - in other words, the two interior angles on the opposite side of the triangle. In the figure
More informationInvariants and Algorithms
1 Introduction Invariants and Algorithms November 9, 2015 Cody Johnson ctj@math.cmu.edu An invariant is something that doesn t change after some process. A monovariant is something that changes in one
More informationTILING PROBLEMS: FROM DOMINOES, CHECKERBOARDS, AND MAZES TO DISCRETE GEOMETRY
TILING PROBLEMS: FROM DOMINOES, CHECKERBOARDS, AND MAZES TO DISCRETE GEOMETRY BERKELEY MATH CIRCLE 1. Looking for a number Consider an 8 8 checkerboard (like the one used to play chess) and consider 32
More informationFebruary Regional Geometry Team: Question #1
February Regional Geometry Team: Question #1 A = area of an equilateral triangle with a side length of 4. B = area of a square with a side length of 3. C = area of a regular hexagon with a side length
More informationHi everyone. I hope everyone had a good Fourth of July. Today we're going to be covering graph search. Now, whenever we bring up graph algorithms, we
Hi everyone. I hope everyone had a good Fourth of July. Today we're going to be covering graph search. Now, whenever we bring up graph algorithms, we have to talk about the way in which we represent the
More informationGeometry Vocabulary. acute angle-an angle measuring less than 90 degrees
Geometry Vocabulary acute angle-an angle measuring less than 90 degrees angle-the turn or bend between two intersecting lines, line segments, rays, or planes angle bisector-an angle bisector is a ray that
More informationExam 2 Review. 2. What the difference is between an equation and an expression?
Exam 2 Review Chapter 1 Section1 Do You Know: 1. What does it mean to solve an equation? 2. What the difference is between an equation and an expression? 3. How to tell if an equation is linear? 4. How
More informationSolutions to Problem 1 of Homework 3 (10 (+6) Points)
Solutions to Problem 1 of Homework 3 (10 (+6) Points) Sometimes, computing extra information can lead to more efficient divide-and-conquer algorithms. As an example, we will improve on the solution to
More information2017 Consortium for Computing Sciences in Colleges Programming Contest Saturday, November 4th Furman University Greenville, SC
2017 Consortium for Computing Sciences in Colleges Programming Contest Saturday, November 4th Furman University Greenville, SC There are eight (8) problems in this packet. Each team member should have
More informationThe Ultimate Maths Vocabulary List
The Ultimate Maths Vocabulary List The 96 Words Every Pupil Needs to Know by the End of Year 6 KS1 & KS2 How to Use This Resource An essential building block in pupil s understanding of maths is their
More informationDice in Google SketchUp
A die (the singular of dice) looks so simple. But if you want the holes placed exactly and consistently, you need to create some extra geometry to use as guides. Plus, using components for the holes is
More informationNumber System. Introduction. Natural Numbers (N) Whole Numbers (W) Integers (Z) Prime Numbers (P) Face Value. Place Value
1 Number System Introduction In this chapter, we will study about the number system and number line. We will also learn about the four fundamental operations on whole numbers and their properties. Natural
More informationCombinatorics: The Fine Art of Counting
This week s menu is divided into two sections. The first part is a set of appetizer problems which can all be solved using a straight-forward application of concepts covered in class. The second part consists
More informationLecture 12: Grids Steven Skiena. skiena
Lecture 12: Grids Steven Skiena Department of Computer Science State University of New York Stony Brook, NY 11794 4400 http://www.cs.sunysb.edu/ skiena Rectilinear Grids Rectilinear grids are typically
More informationFundamentals. Fundamentals. Fundamentals. We build up instructions from three types of materials
Fundamentals We build up instructions from three types of materials Constants Expressions Fundamentals Constants are just that, they are values that don t change as our macros are executing Fundamentals
More informationName: Tutor s
Name: Tutor s Email: Bring a couple, just in case! Necessary Equipment: Black Pen Pencil Rubber Pencil Sharpener Scientific Calculator Ruler Protractor (Pair of) Compasses 018 AQA Exam Dates Paper 1 4
More informationGraph theory. Po-Shen Loh. June We begin by collecting some basic facts which can be proved via bare-hands techniques.
Graph theory Po-Shen Loh June 013 1 Basic results We begin by collecting some basic facts which can be proved via bare-hands techniques. 1. The sum of all of the degrees is equal to twice the number of
More informationMath 135: Intermediate Algebra Homework 10 Solutions December 18, 2007
Math 135: Intermediate Algebra Homework 10 Solutions December 18, 007 Homework from: Akst & Bragg, Intermediate Algebra through Applications, 006 Edition, Pearson/Addison-Wesley Subject: Linear Systems,
More informationThis resource can be used with questions on any subject. To enable it to be used straight away these questions on keywords in maths can be used.
Letter Quiz Maths Keyword Question Bank This resource can be used with questions on any subject. To enable it to be used straight away these questions on keywords in maths can be used. A What A is the
More informationy (B) x (B) x (B)
Copyright Cambridge University Press 00. On-screen viewing permitted. Printing not permitted. http://www.cambridge.org/05498 You can buy this book for 0 pounds or $50. See http://www.inference.phy.cam.ac.uk/mackay/itila/
More informationMesh Generation. Quadtrees. Geometric Algorithms. Lecture 9: Quadtrees
Lecture 9: Lecture 9: VLSI Design To Lecture 9: Finite Element Method To http://www.antics1.demon.co.uk/finelms.html Lecture 9: To Lecture 9: To component not conforming doesn t respect input not well-shaped
More informationCPSC 217 Assignment 3
CPSC 217 Assignment 3 Due: Monday November 23, 2015 at 12:00 noon Weight: 7% Sample Solution Length: 135 lines, including some comments (not including the provided code) Individual Work: All assignments
More informationRouter placement. Problem statement for Final Round, Hash Code 2017
Router placement Problem statement for Final Round, Hash Code 2017 Introduction Who doesn't love wireless Internet? Millions of people rely on it for productivity and fun in countless cafes, railway stations
More informationProblem A Ceiling Function
Problem A Ceiling Function Time limit: 4 seconds Advanced Ceiling Manufacturers (ACM) is analyzing the properties of its new series of Incredibly Collapse-Proof Ceilings (ICPCs). An ICPC consists of n
More informationProblem A. Necklace Constructions
Problem A. Necklace Constructions Hephaestus has n straight metal rods of various lengths not necessarily distinct, and he s trying to use them to construct the largest necklace possible, for some notions
More informationUnit 1, Lesson 1: Moving in the Plane
Unit 1, Lesson 1: Moving in the Plane Let s describe ways figures can move in the plane. 1.1: Which One Doesn t Belong: Diagrams Which one doesn t belong? 1.2: Triangle Square Dance m.openup.org/1/8-1-1-2
More information2016 Fall Startup Event Thursday, September 29th, 2016
This test consists of 100 problems to be solved in 30 minutes. All answers must be exact, complete, and in simplest form. To ensure consistent grading, if you get a decimal, mixed number, or ratio as any
More informationGlossary Common Core Curriculum Maps Math/Grade 6 Grade 8
Glossary Common Core Curriculum Maps Math/Grade 6 Grade 8 Grade 6 Grade 8 absolute value Distance of a number (x) from zero on a number line. Because absolute value represents distance, the absolute value
More informationGraphs. The ultimate data structure. graphs 1
Graphs The ultimate data structure graphs 1 Definition of graph Non-linear data structure consisting of nodes & links between them (like trees in this sense) Unlike trees, graph nodes may be completely
More information2009 Fall Startup Event Thursday, September 24th, 2009
009 Fall Startup Event This test consists of 00 problems to be solved in 0 minutes. All answers must be exact, complete, and in simplest form. To ensure consistent grading, if you get a decimal, mixed
More informationLecture 13 Geometry and Computational Geometry
Lecture 13 Geometry and Computational Geometry Euiseong Seo (euiseong@skku.edu) 1 Geometry a Branch of mathematics concerned with questions of shape, size, relative position of figures, and the properties
More informationThe Real Number System and Pythagorean Theorem Unit 9 Part C
The Real Number System and Pythagorean Theorem Unit 9 Part C Standards: 8.NS.1 Know that numbers that are not rational are called irrational. Understand informally that every number has a decimal expansion;
More informationName: Block: What I can do for this unit:
Unit 8: Trigonometry Student Tracking Sheet Math 10 Common Name: Block: What I can do for this unit: After Practice After Review How I Did 8-1 I can use and understand triangle similarity and the Pythagorean
More informationIntroduction to Fall 2008 Artificial Intelligence Midterm Exam
CS 188 Introduction to Fall 2008 Artificial Intelligence Midterm Exam INSTRUCTIONS You have 80 minutes. 70 points total. Don t panic! The exam is closed book, closed notes except a one-page crib sheet,
More information1.2 Real Numbers. Objectives In this section, you will learn to:
1.2 Real Numbers Objectives In this section, you will learn to: Identify integers on the number line. Compare signed numbers. Find the absolute value of a number. Define number. Categorize numbers within
More informationVocabulary: Looking For Pythagoras
Vocabulary: Looking For Pythagoras Concept Finding areas of squares and other figures by subdividing or enclosing: These strategies for finding areas were developed in Covering and Surrounding. Students
More informationMemory Addressing, Binary, and Hexadecimal Review
C++ By A EXAMPLE Memory Addressing, Binary, and Hexadecimal Review You do not have to understand the concepts in this appendix to become well-versed in C++. You can master C++, however, only if you spend
More informationLocating Restricted Facilities on Binary Maps
Locating Restricted Facilities on Binary Maps Mugurel Ionut Andreica, Politehnica University of Bucharest, mugurel.andreica@cs.pub.ro Cristina Teodora Andreica, Commercial Academy Satu Mare Madalina Ecaterina
More informationUnit 1, Lesson 1: Tiling the Plane
Unit 1, Lesson 1: Tiling the Plane Let s look at tiling patterns and think about area. 1.1: Which One Doesn t Belong: Tilings Which pattern doesn t belong? 1 1.2: More Red, Green, or Blue? m.openup.org//6-1-1-2
More informationUNC Charlotte 2010 Comprehensive
00 Comprehensive March 8, 00. A cubic equation x 4x x + a = 0 has three roots, x, x, x. If x = x + x, what is a? (A) 4 (B) 8 (C) 0 (D) (E) 6. For which value of a is the polynomial P (x) = x 000 +ax+9
More informationUniversity of Manitoba Open Programming Contest September 22, General Instructions:
University of Manitoba Open Programming Contest September 22, 2012 General Instructions: 1. Submit solutions using the PC^2 software. 2. The questions are not listed in order of difficulty. Some questions
More informationFundamentals of Operations Research. Prof. G. Srinivasan. Department of Management Studies. Indian Institute of Technology Madras.
Fundamentals of Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology Madras Lecture No # 06 Simplex Algorithm Initialization and Iteration (Refer Slide
More information1. Meshes. D7013E Lecture 14
D7013E Lecture 14 Quadtrees Mesh Generation 1. Meshes Input: Components in the form of disjoint polygonal objects Integer coordinates, 0, 45, 90, or 135 angles Output: A triangular mesh Conforming: A triangle
More information(Refer Slide Time: 02.06)
Data Structures and Algorithms Dr. Naveen Garg Department of Computer Science and Engineering Indian Institute of Technology, Delhi Lecture 27 Depth First Search (DFS) Today we are going to be talking
More informationCombinatorics: The Fine Art of Counting
Week Three Solutions Note: in these notes multiplication is assumed to take precedence over division, so 4!/2!2! = 4!/(2!*2!), and binomial coefficients are written horizontally: (4 2) denotes 4 choose
More information2016 ACM ICPC Southeast USA Regional Programming Contest. Division 1
206 ACM ICPC Southeast USA Regional Programming Contest Division Alphabet... Base Sums... 2 Buggy Robot... 3 Enclosure... 5 Illumination... 6 InTents... 7 Islands... 9 Paint... 0 Periodic Strings... Water...
More informationSHAPE, SPACE and MEASUREMENT
SHAPE, SPACE and MEASUREMENT Types of Angles Acute angles are angles of less than ninety degrees. For example: The angles below are acute angles. Obtuse angles are angles greater than 90 o and less than
More informationName: Pythagorean theorem February 4, 2013
Name: Pythagorean theorem February 4, 203 ) If you walk 50 yards south, then 40 yards east, and finally 20 yards north, how far are you from your starting point? Express your answer in yards. 6) At twelve
More information2018 AIME I Problems
2018 AIME I Problems Problem 1 Let be the number of ordered pairs of integers, with and such that the polynomial x + x + can be factored into the product of two (not necessarily distinct) linear factors
More informationGEOMETRY. slide #3. 6th Grade Math Unit 7. 6th Grade Unit 7: GEOMETRY. Name: Table of Contents. Area of Rectangles
Name: 6th Grade Math Unit 7 GEOMETRY 2012 10 17 www.njctl.org 1 Table of Contents Area of Rectangles Area of Parallelograms Area of Triangles Area of Trapezoids Mixed Review Area of Irregular Figures Area
More informationHarvard-MIT Mathematics Tournament February 19, 2005
Harvard-MIT Mathematics Tournament February 19, 2005 Guts Round... 1. [5] Find the largest positive integer n such that 1 + 2 + 3 + + n 2 is divisible by 1 + 2 + 3 + + n. 2. [5] Let x, y, and z be positive
More informationNO CALCULATOR ALLOWED
Round 1: Arithmetic All answers must be in simplest exact form in the answer section 1 1. If a #b = a b! a, evaluate: (3#5)! (5#3) 2. If a!b represents a% of (a + b), p! q represents q% of (p! q), and
More information2010 ACM ICPC Southeast USA Regional Programming Contest. 6 November, 2010 PROBLEMS
21 ACM ICPC Southeast USA Regional Programming Contest 6 November, 21 PROBLEMS A: Balloons... 1 B: Bit Counting... 2 C: Data Recovery... 3 D: Equal Angles... 5 E: Maximum Square... 6 F: Palindrometer...
More information0 Graphical Analysis Use of Excel
Lab 0 Graphical Analysis Use of Excel What You Need To Know: This lab is to familiarize you with the graphing ability of excels. You will be plotting data set, curve fitting and using error bars on the
More informationUse lists. Use loops. Use conditionals. Define and use functions. Create and use code modules
Hunt the Wumpus Objectives Use lists Use loops Use conditionals Define and use functions Create and use code modules Assignment Hunt the Wumpus is a game that has been around in computing for over 40 years.
More informationAn Eternal Domination Problem in Grids
Theory and Applications of Graphs Volume Issue 1 Article 2 2017 An Eternal Domination Problem in Grids William Klostermeyer University of North Florida, klostermeyer@hotmail.com Margaret-Ellen Messinger
More informationGrade 6 Math Circles October 16 & Non-Euclidean Geometry and the Globe
Faculty of Mathematics Waterloo, Ontario N2L 3G1 Centre for Education in Mathematics and Computing Grade 6 Math Circles October 16 & 17 2018 Non-Euclidean Geometry and the Globe (Euclidean) Geometry Review:
More information