A rectangular field is to be fenced. The north side is 20 meters long and the area of the field is 680 squared meters. How many
|
|
- Iris Wells
- 6 years ago
- Views:
Transcription
1 Medallia Argentina Inter 1 minutes Question - 1 Field fencing A rectangular field is to be fenced. The north side is meters long and the area of the field is 68 squared meters. How many meters of fencing will be required, if we were to fence all but the north side? Question - Q, R & T Q is as much younger than R as he is older than T. If the sum of the ages of R and T is 5 years, what is definitely the difference between R and Q's age? 1 year years 5 years Data inadequate None of these Question - 4 children group You have to select 4 children from a group of 6 boys and 4 girls. In how many ways can this be done such that at least 1 boy is part of the selected group (without taking the order into account)?
2 5 9 Question - 4 Anagram Party We are given a word and n phrases. We need to find out how many anagrams of that word exist in each phrase. 1 n 1 word 1 All words are lowercase Special character other than letters and numbers are: spaces, dot, comma. Complete a function named amountofanagrams which takes a single string (word) and an array of strings (phrases) as parameters. Return an integer array denoting the amount of anagrams in each phrase. word word is drow when dwor nothing to see here Sample Input dormitory dirty room dirtyroom room is dirty Sample Output 1 Question - 5 Climbing stairs
3 You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or steps. In how many distinct ways can you climb to the top? 1 n Complete a function named waystoclimb which takes a single integer (n) as a parameter. Return a single integer denoting the amount of distinct ways to climb the n stairs. Explanation Sample 1 You can climb stairs in two different ways: [1, 1] or []. Sample Input 1 Sample Output 89 Question - 6 IronMan IronMan is ready for battle! He starts his battle at location moves in 1-unit increments toward his final showdown at location n 1. Each location i has a power value, p. i If p i <, then there is an enemy at location i that he must lose p i power to beat; if p i, then he will restore p i power at location i. IronMan dies if his armor charge becomes < 1 at any point either during or after a fight, so he needs a proper initial charge to survive all possible fights in his battle traveling from location to location n 1. Help him find the minimum charge needed to survive all fights in the battle! Complete the ironman function in your editor. It has 1 parameter: an array of n integers, p, where each index i ( i < n) describes the power charge lost or gained at battle location i. If the value at some p i <, it represents the amount of charge IronMan must deplete to defeat the enemy; otherwise, it represents the amount of charge that he can restore at that location. Your function must return an integer denoting the minimum starting charge IronMan needs to survive all fights. The locked stub code in your editor reads the following input from stdin and passes it to your function: The first line contains an integer, n, denoting number of
4 locations IronMan will pass through. Each line i of the n subsequent lines (where i < n) contains an integer describing the amount of charge he will gain or lose at battle location i. 1 n 15 1 pi 1 Your function must return an integer denoting the minimum amount of charge IronMan will need to survive all fights in the battle. This is printed to stdout by the locked stub code in your editor. Sample Input The following argument is passed to your function: p = {-5, 4, -,, 1, -1, -6, -1,, 5} Sample output 8 The following argument is passed to your function: p = { 5,4,,, 1} Sample output 1 6 Sample Input The following argument is passed to your function: p = { 5, 4,,, 1, 1, 6, 1,, 5} Sample Output 1 Explanation Sample Case : If IronMan's initial charge < 8, then he will die somewhere in the middle of his battle. Thus, we return 8 as the minimum charge needed to survive the battle. Question - 7 Two operations You are given only two operations, ADD_1 and MULTIPLY_. You start from and using the two operations reach a number N. Find the least number of operations needed to do this. : The first line will contain an integer T that gives the number of test cases. There will be one integer N on each of the following T lines. Return an integer array denoting the minimum number of operations needed in each test case.
5 T 1, N 1 16 Sample Input 5 Sample Output 4 Explanation Case1: To reach 5 from. We do ADD1 then Multiply two times and then add 1 again, total 4 steps Case: To reach from. We can either do Add 1 times or Add 1, multiply and again add 1 Question - 8 Array Game Jessica has an array, numbers, consisting of n integers. She plays a game with this array where, in each move, she selects (n 1) elements and increments their values by one. For example, if n = 4, she chooses of the 4 elements during each move and increments each of their values by one. Jessica wants to know the minimum number of moves required to make all of the array's elements equal. Complete the countmoves function in your editor. It has 1 parameter: an array of integers, numbers. It must return a long integer denoting the minimum number of moves required for all elements to be equal. The locked stub code in your editor reads the following input from stdin and passes it to your function: The first line contains an integer, n, denoting the size of the numbers array. Each line i of the n subsequent lines (where i < n) contains an integer describing numbers. i 5 1 n numbers i 1, where numbers i is th the i element of the numbers array. Your function must return a long integer denoting the minimum number of moves required for Jessica to make all elements of the array equal. This is printed to stdout by the locked stub code in your editor. 1
6 Explanation 1 Initially, numbers = [1,, ]. Jessica makes the following moves: 1. Increments the values corresponding to indices in the set {, 1}, so the array becomes [,, ].. Increments the values corresponding to indices in the set {, 1}, so the array becomes [, 4, ].. Increments the values corresponding to indices in the set {, }, so the array becomes [4, 4, 4]. Recall that the set of indices updated during each move must be of size n 1. It took a minimal three moves to make all elements in the array equal, so we return. Sample Input Sample Output Explanation Initially, numbers = [,, ]. Because all of its elements are already equal, no moves are required and we return. Question - 9 Fun with palindromes Problem Statement A palindrome is a word, phrase, number, or other sequence of characters which reads the same forward and backwards. For example: "madam" and "dad" are palindromes, but "sir" and "sad" are not. The fun score for two subsequences(not substrings), A and B, in string s is the product of their respective lengths. There are many ways to choose A and B, but your goal is to maximize the fun score. There can't be any overlap or crossover between the two subsequences. Given string s, select exactly two non-overlapping noncrossing-over palindromic subsequences, A and B, from s to maximize the fun score. Non crossing over means that given the string aababb, you can't get aaa and bbb, since the subsequences cross over.
7 1 < s s is composed of lowercase English characters. Complete a function named funpal which takes a single string (s) as a parameter. Return a single integer denoting the maximum possible fun score for s. Sample Input acdapmpomp Sample Output 15 axbawbaseksqke 5 Explanation Sample Case You can select A= aca and B= pmpmp. The product is * 5 = 15, so we return 15. Sample Case 1 You can select A= ababa and B= ekske. The product is 5 * 5 = 5, so we print 5. Another possible solution is A= ababa and B= ekqke which also yields the answer 5.
In how many different ways can the letters of the word 'DETAIL' be arranged in such a way that the vowels occupy only the odd positions?
Medallia Argentina Inter 120 minutes Question - 1 The sum of the present ages of a father and his son is 60 years. Six years ago, father's age was five times the age of the son. After 6 years, son's age
More information2017 ACM ICPC ASIA, INDIA REGIONAL ONLINE CONTEST
Official Problem Set 017 ACM ICPC ASIA, INDIA REGIONAL ONLINE CONTEST 1 Problem code: EQUALMOD Problem name: Modulo Equality You have two arrays A and B, each containing N integers. Elements of array B
More informationQuestion - 1 What is the number?
SoCal HSPC 7 8 minutes Question - What is the number? Often, we hear commercials give out their numbers with phrases. When we press for the phrases on the keypad, we are indirectly translating the phrases
More information2016 AMC10B Problems
Problem 1 2016 AMC10B Problems What is the value of when? Problem 2 If, what is? Problem 3 Let. What is the value of? Problem 4 Zoey read books, one at a time. The first book took her day to read, the
More informationCroatian Open Competition in Informatics, Contest #1 October 27, 2007
Tasks Task CETVRTA PEG PRINOVA ZAPIS SREDNJI STAZA Memory limit (heap+stack) Time limit (per test) standard (keyboard) standard (screen) 2 MB 1 second Number of tests 5 6 10 10 10 10 Points per test 4
More informationNMC Sample Problems: Grade 8
NM Sample Problems: Grade 8. right triangle has lengths of and 8 in sides. What is the length of hypotenuse (the longest side)? (b) 0 5. n isosceles triangle has the base length of 6 and each side of length.
More informationA Tale Dark and Grimm
Introduction 1. What happens to the point of view on the first page Page # 2. What is the bold writing in the book trying to show you? Page # 3. What does the King make Johannes promise him before he dies
More informationNMC Sample Problems: Grade 8
NM Sample Problems: Grade 8. right triangle has side lengths of 4 and 8. What is the length of the hypotenuse (the longest side)? 4 0 4 4. n isosceles triangle has a base length of 0 and a side length.
More informationXVIII Open Cup named after E.V. Pankratiev Stage 10, Grand Prix of Korea, Sunday, February 4, 2018
Problem A. Donut file: XVIII Open Cup named after E.V. Pankratiev 3 seconds 1024 mebibytes In this problem, we will use Chebyshev distance on a Cartesian plane. The Chebyshev distance between two points
More informationA. Incorrect! This would be the negative of the range. B. Correct! The range is the maximum data value minus the minimum data value.
AP Statistics - Problem Drill 05: Measures of Variation No. 1 of 10 1. The range is calculated as. (A) The minimum data value minus the maximum data value. (B) The maximum data value minus the minimum
More informationTASK CESTA PŠENICA PRIPREME MRAVI SABOR STANOVI. score
TASK CESTA PŠENICA PRIPREME MRAVI SABOR STANOVI input output standard input standard output time limit 1 second 1 second 2 seconds 1 second 1 second 1.5 second memory limit 2 MB 2 MB 2 MB 2 MB 64 MB 64
More information08. First and second degree equations
08. First and second degree equations GRAPH THEORY Based on Chris K. Caldwell work: http://primes.utm.edu/cgi-bin/caldwell/tutor/graph/index.html INTRODUCTION Consider the next problem: Old Königsberg
More informationCIS 252 Introduction to Computer Science Section M013: Exam 3 (Blue) April 26, Points Possible
Name: CIS 252 Introduction to Computer Science Section M013: April 26, 2018 Question Points Possible Points Received 1 18 2 20 3 12 4 14 5 24 6 12 Total 100 Instructions: 1. This exam is a closed-book
More informationProblem A. Find a Number
Problem A. Find a Number You are given two positive integers d and s. Find minimal positive integer n which is divisible by d and has sum of digits equal to s. The first line contains two positive integers
More informationSimplifying Expressions
Unit 1 Beaumont Middle School 8th Grade, 2017-2018 Math8; Intro to Algebra Name: Simplifying Expressions I can identify expressions and write variable expressions. I can solve problems using order of operations.
More information3. Mr. White does not wear white, so he is wearing the blue shirt. 4. Then Mr. Red wears a white shirt.
5A METHOD 1: Strategy: Use reasoning. 1. Mr. Red and Mr. White are older than the man in gray. Neither Mr. Red nor Mr. White wears gray. Mr. Gray does not wear gray. So Mr. Blue wears the gray shirt. 2.
More informationSENIOR HIGH MATH LEAGUE April 24, 2001 SECTION I: ONE POINT EACH
GROUP V OPEN DIVISION TEST A Unless otherwise stated give exact answers. 1. Find the quotient when 8x 3 +1 is divided by 2 x + 1. 2. Given f ( x) = 5x 2b while g (x) = 4bx. If f (g(1)) = 36, what is g
More informationThe 2016 ACM ICPC Vietnam National Programming Contest. The problem set consists of 11 problems: ICPC score distribution. Magical palindromic number
The problem set consists of 11 problems: Problem A Problem B Problem C Problem D Problem E Problem F Problem G Problem H Problem I Problem J Problem K ICPC score distribution Magical palindromic number
More information1. You have a complete bipartite graph where each part contains exactly n nodes, numbered from 0 to n - 1 inclusive.
牛客网暑期 ACM 多校训练营 ( 第七场 ) 一. 编程题 1. You have a complete bipartite graph where each part contains exactly n nodes, numbered from 0 to n - 1 inclusive. The weight of the edge connecting two vertices with numbers
More informationCS 206 Introduction to Computer Science II
CS 206 Introduction to Computer Science II 04 / 25 / 2018 Instructor: Michael Eckmann Today s Topics Questions? Comments? Balanced Binary Search trees AVL trees / Compression Uses binary trees Balanced
More information//If target was found, then //found == true and a[index] == target.
230 CHAPTER 5 Arrays //If target was found, then //found == true and a[index] == target. } if (found) where = index; return found; 20. 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 21. int a[4][5]; int index1, index2;
More informationStudent Outcomes. Lesson Notes. Classwork. Discussion (4 minutes)
Student Outcomes Students write mathematical statements using symbols to represent numbers. Students know that written statements can be written as more than one correct mathematical sentence. Lesson Notes
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 information1.1 - Functions, Domain, and Range
1.1 - Functions, Domain, and Range Lesson Outline Section 1: Difference between relations and functions Section 2: Use the vertical line test to check if it is a relation or a function Section 3: Domain
More informationECE15: Lab #3. Problem 1. University of California San Diego ( 1) + x4. + x8 + (1)
University of California San Diego ECE15: Lab #3 This lab relates specifically to the material covered in Lecture Units 6 and 7 in class, although it assumes knowledge of the previous Lecture Units as
More informationCMSC Theory of Algorithms Second Midterm
NAME (please PRINT in large letters): SECTION: 01 02 (circle one) CMSC 27200 Theory of Algorithms Second Midterm 02-26-2015 The exam is closed book. Do not use notes. The use of ELECTRONIC DEVICES is strictly
More informationACM International Collegiate Programming Contest 2013
International Collegiate acm Programming Contest 013 event sponsor ACM International Collegiate Programming Contest 013 Latin American Regional Contests November 8th-9th, 013 Contest Session This problem
More informationTASK NAJBOLJIH 5 OKRET ZADAĆA KOMPIĆI FUNKCIJA RASPORED. zadaca.pas zadaca.c zadaca.cpp
2 nd round, November 9 th, 20 TASK NAJBOLJIH 5 OKRET ZADAĆA KOMPIĆI FUNKCIJA RASPORED source code najboljih5.pas najboljih5.c najboljih5.cpp okret.pas okret.c okret.cpp zadaca.pas zadaca.c zadaca.cpp kompici.pas
More informationSusan had $50 to spend at the carnival. She spent $12 on food and twice as much on rides. How many dollars did she have left to spend?
Susan had $50 to spend at the carnival. She spent $12 on food and twice as much on rides. How many dollars did she have left to spend? (A) 12 (B) 14 (C) 26 (D) 38 (E) 50 2008 AMC 8, Problem #1 Susan spent
More informationMath A Regents Exam 0601 Page 1
Math A Regents Exam 0601 Page 1 1. 060101a, P.I. A.A.1 A car travels 110 miles in hours. At the same rate of speed, how far will the car travel in h hours? [A] 55h [B] 0h [C]. 06010a, P.I. A.A.14 h 0 Which
More informationWhat s the Difference?
What s the Difference? Subtracting Integers Learning Goals In this lesson, you will: Model subtraction of integers using two-color counters. Model subtraction of integers on a number line. Develop a rule
More informationProblem Sets. GRADE 5 MODULE 5 Addition and Multiplication with Volume and Area
GRADE 5 MODULE 5 Addition and Multiplication with Volume and Area Problem Sets Video tutorials: http://bit.ly/eurekapusd Info for parents: http://bit.ly/pusdmath 5 GRADE Mathematics Curriculum GRADE 5
More informationRBI PHASE 1 RECAP 2 ND JULY 18 QUANT NUMBER SYSTEM
RBI PHASE 1 RECAP 2 ND JULY 18 QUANT NUMBER SYSTEM Relative primes Two numbers are said to be relative or co-prime if they do not have any common factor other than 1. As 15 and 16 do not have any common
More informationPractice problems Set 2
Practice problems Set 2 1) Write a program to obtain transpose of a 4 x 4 matrix. The transpose of matrix is obtained by exchanging the elements of each row with the elements of the corresponding column.
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 informationLecture 5: Suffix Trees
Longest Common Substring Problem Lecture 5: Suffix Trees Given a text T = GGAGCTTAGAACT and a string P = ATTCGCTTAGCCTA, how do we find the longest common substring between them? Here the longest common
More information2006 Canadian Computing Competition: Senior Division. Sponsor:
2006 Canadian Computing Competition: Senior Division Sponsor: Canadian Computing Competition Student Instructions for the Senior Problems 1. You may only compete in one competition. If you wish to write
More informationThis book is licensed under a Creative Commons Attribution 3.0 License
6. Syntax Learning objectives: syntax and semantics syntax diagrams and EBNF describe context-free grammars terminal and nonterminal symbols productions definition of EBNF by itself parse tree grammars
More informationXV Open Cup named after E.V. Pankratiev Stage 6, Grand Prix of Japan, Sunday, February 1, 2015
Problem A. Manhattan file: file: 1 second In Manhattan, there are streets x = i and y = i for each integer i. It is known that both Snuke s house and Smeke s house are on streets, and the Euclidean distance
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 informationB. Composing Of String
Stepan has a set of n strings. Also, he has a favorite string s. B. Composing Of String time limit per test: 2 seconds memory limit per test: 256 megabytes : standard : standard Stepan wants to do the
More informationProblem A. Cubic Games
Problem A. Cubic Games : : ICPC BOLIVIA 207 September 2nd, 207 games.c, games.cpp, games.java, games.py Eddy Cael Mamani Canaviri - Coderoad Bolivia Ailin is playing a game with her friends. There is a
More informationEASY
Downloaded from: justpaste.it/hsfm ------------------------------- EASY ------------------------------- NUMBERS Even or Odd Write a program that accepts a number and returns whether the number is equal
More informationTeacher Guide: Introduction to Computer Science
Teacher Guide: Introduction to Computer Science Table of Contents Summary: Introduction to Computer Science Concepts Covered in this Course Basic Syntax Arguments Strings Variables While Loops Level Overview
More informationProcessing, representing and interpreting data
Processing, representing and interpreting data 21 CHAPTER 2.1 A head CHAPTER 17 21.1 polygons A diagram can be drawn from grouped discrete data. A diagram looks the same as a bar chart except that the
More informationProblem Set 6. Part A:
Introduction to Algorithms: 6.006 Massachusetts Institute of Technology April 12, 2011 Professors Erik Demaine, Piotr Indyk, and Manolis Kellis Problem Set 6 Problem Set 6 This problem set is divided into
More informationAdvanced Algebra I Simplifying Expressions
Page - 1 - Name: Advanced Algebra I Simplifying Expressions Objectives The students will be able to solve problems using order of operations. The students will identify expressions and write variable expressions.
More informationXVIII Open Cup named after E.V. Pankratiev Stage 7, Grand Prix of Siberia, Sunday, November 19, 2017
Problem 1. GUI 1 second 56 megabytes Your company is developing a new window-based GUI. The existing implementations of this interface type are fatally flawed: someone else made them. Windows are rectangles
More informationPrepare a stem-and-leaf graph for the following data. In your final display, you should arrange the leaves for each stem in increasing order.
Chapter 2 2.1 Descriptive Statistics A stem-and-leaf graph, also called a stemplot, allows for a nice overview of quantitative data without losing information on individual observations. It can be a good
More informationComputer Science 236 Fall Nov. 11, 2010
Computer Science 26 Fall Nov 11, 2010 St George Campus University of Toronto Assignment Due Date: 2nd December, 2010 1 (10 marks) Assume that you are given a file of arbitrary length that contains student
More informationFinal. Name: TA: Section Time: Course Login: Person on Left: Person on Right: U.C. Berkeley CS170 : Algorithms, Fall 2013
U.C. Berkeley CS170 : Algorithms, Fall 2013 Final Professor: Satish Rao December 16, 2013 Name: Final TA: Section Time: Course Login: Person on Left: Person on Right: Answer all questions. Read them carefully
More informationName Period Date LINEAR FUNCTIONS STUDENT PACKET 2: MULTIPLE REPRESENTATIONS 2
Name Period Date LINEAR FUNCTIONS STUDENT PACKET 2: MULTIPLE REPRESENTATIONS 2 LF2.1 LF2.2 LF2.3 Growing Shapes Use variables, parentheses, and exponents in expressions. Use formulas to find perimeter
More informationProblem A - Complete the sequence
Problem A - Complete the sequence You probably know those quizzes in Sunday magazines: given the sequence 1, 2, 3,,, what is the next number? Sometimes it is very easy to answer, sometimes it could be
More informationXVIII Open Cup named after E.V. Pankratiev Stage 1: Grand Prix of Romania, Sunday, September 17, 2017
Problem A. Balance file: 1 second 512 mebibytes We say that a matrix A of size N N is balanced if A[i][j] + A[i + 1][j + 1] = A[i + 1][j] + A[i][j + 1] for all 1 i, j N 1. You are given a matrix A of size
More informationInteger Word Problems And Answers
Integer And Free PDF ebook Download: Integer And Download or Read Online ebook integer word problems and answers in PDF Format From The Best User Guide Database : Consecutive Integer. Jefferson Davis Learning
More informationProblem D: A Non-boring sequences
Problem D: A Non-boring sequences We were afraid of making this problem statement too boring, so we decided to keep it short. A sequence is called non-boring if its every connected subsequence contains
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 informationProblem Set. The 37 th Annual ACM International Collegiate Programming Contest ASIA Regional - Daejeon. A. Accelerator (2 pages)
ASIA Regional - Daejeon Problem Set Please check that you have 1 problems and 1 sheets (excluding additional materials). A. Accelerator ( pages) B. Contour Maps ( pages) C. Critical -Path ( pages) D. Dot
More informationKharagpur Site Online Problems 2013
Kharagpur Site Online Problems 013 Problem #1: List Editing At the ACME University, as part of the Graduate course work, each student is required to undergo project work. The authorities always make an
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 informationGlynda, the good witch of the North
Strings and Languages It is always best to start at the beginning -- Glynda, the good witch of the North What is a Language? A language is a set of strings made of of symbols from a given alphabet. An
More informationECS 10 Concepts of Computation Example Final Problems
ECS 10 Concepts of Computation Example Final Problems 1. Here is a little program, not necessarily correct. ages= {} ages["cat"]=4 if 4 in ages: print ages[4] This program will... a) print cat b) print
More informationChapter 1 Operations With Numbers
Chapter 1 Operations With Numbers Part I Negative Numbers You may already know what negative numbers are, but even if you don t, then you have probably seen them several times over the past few days. If
More informationOUTPUT: There should be one line per case, with the word possible or impossible.
Problem: Camping Lots Planning You are the owner of an island, which has one bridge to access it and one circular road going around the island. For the next summer, you would like to turn this property
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 informationIntroduction to Computer Science with MakeCode for Minecraft
Introduction to Computer Science with MakeCode for Minecraft Lesson 4: Variables In this lesson, we ll explore the concept of a variable, an important way to store information and make your programs more
More informationNavigate Your Kindle (2nd Generation)
Navigate Your Kindle (2nd Generation) Navigate Your Kindle (2nd Generation) Use the Menus Enter Text Screen Rotation Status Indicators Use the Menu to Get Around Select Internal Links Use the Menus Use
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 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 informationThe Number Plane THE NUMBER PLANE PASSPORT.
THE NUMBER PLANE PASSPORT www.mathletics.co.nz Fill in the mind-map below with what you already know about number planes. A start has been made for you! Uses a coordinate system developed by the French
More informationWritten test, 25 problems / 90 minutes
Sponsored by: UGA Math Department and UGA Math Club Written test, 5 problems / 90 minutes November 8, 04 Instructions. At the top of the left of side of your scan-tron answer sheet, fill in your last name,
More informationTASK CSS HISTOGRAMI MOSTOVI NIZOVI. time limit 5 seconds 1 second 1 second 1 second. memory limit 256 MB 256 MB 256 MB 256 MB. points
April 12 th, 2014 Task overview TASK CSS HISTOGRAMI MOSTOVI NIZOVI input standard input output standard output time limit 5 seconds 1 second 1 second 1 second memory limit 256 MB 256 MB 256 MB 256 MB points
More informationA theme park charges $12 entry to visitors. Find the money taken if 1296 people visit the park.
Write an Equation An equation is a term used to describe a collection of numbers and variables related through mathematical operators. An algebraic equation will contain letters that relate to real quantities
More informationCONDITION CONTROLLED LOOPS. Introduction to Programming - Python
CONDITION CONTROLLED LOOPS Introduction to Programming - Python Generating Random Numbers Generating a random integer Sometimes you need your program to generate information that isn t available when you
More informationPLU February 2013 Programming Contest. Advanced Problems
PLU February 201 Programming Contest Advanced Problems I. General Notes 1. Do the problems in any order you like. They do not have to be done in order from 1 to 10. 2. Problems will have either no input
More information1. Alicia tosses 3 fair coins. What is the probability that she gets at 1. least 1 head? Express your answer as a common fraction.
Blitz, Page 1 1. Alicia tosses 3 fair coins. What is the probability that she gets at 1. least 1 head? Express your answer as a common fraction. 2. It took Anita 2.25 hours to walk 12.5 km. At this rate,
More informationfor Middle School
for Middle School Grid Games for Middle School Melisa Rice A publication of GridGamesGalore 8087 County Road 0, Ada, OK 780 Grid Games for Middle School Grid Games is an assortment of fun activities covering
More informationProblem Set 6. Part A:
Introduction to Algorithms: 6.006 Massachusetts Institute of Technology April 12, 2011 Professors Erik Demaine, Piotr Indyk, and Manolis Kellis Problem Set 6 Problem Set 6 This problem set is divided into
More informationUNIVERSITY OF CALIFORNIA Department of Electrical Engineering and Computer Sciences Computer Science Division. Programming Problems
UNIVERSITY OF CALIFORNIA Department of Electrical Engineering and Computer Sciences Computer Science Division Programming Contest Fall 1994 P. N. Hilfinger Programming Problems To set up your account,
More informationUsing Genetic Algorithms to Solve the Box Stacking Problem
Using Genetic Algorithms to Solve the Box Stacking Problem Jenniffer Estrada, Kris Lee, Ryan Edgar October 7th, 2010 Abstract The box stacking or strip stacking problem is exceedingly difficult to solve
More informationSolving Minesweeper Using CSP
Solving Minesweeper Using CSP AI Course Final Project Gil & Chai Usage (After using Makefile) java player/aiplayer
More informationPRE-ALGEBRA BY MYRL SHIREMAN
PRE-ALGEBRA BY MYRL SHIREMAN COPYRIGHT 1994 Mark Twain Media, Inc. ISBN 10-digit: 1-58037-064-0 13-digit: 978-1-58037-064-6 Printing No. CD-1876 Mark Twain Media, Inc., Publishers Distributed by Carson-Dellosa
More informationACM ICPC 7th Sharif Internet Contest & Internal Selection Contest of Sharif
ACM ICPC 7th Sharif Internet Contest & Internal Selection Contest of Sharif 30 Mehr 1388 22 Oct. 2009 Contents Problem A: AMaTeuR HaCKeRS! 1 Problem B: Bahman s disapproval! 2 Problem C: Captivity of causality
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 informationMill Hill School. 13+ Entrance Examination Mathematics. January Time: 1 hour. School: Mark: Materials required for examination
Name: School: Mark: Mill Hill School 13+ Entrance Examination Mathematics January 2014 Time: 1 hour Materials required for examination Ruler, protractor, compasses, pen, pencil, eraser Calculators must
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 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 informationACM ICPC Dhaka Regional Online Preliminary Contest th October 2018 You get 13 Pages 10 Problems
ACM ICPC Dhaka Regional Online Preliminary Contest 2018 5th October 2018 You get 13 Pages 10 Problems 1 A Welcome ACM ICPC Dhaka Regional is the biggest programming competition in Bangladesh. Also the
More informationThere are three questions on this exam. You have 2 hours to complete it. Please indent your program so that it is easy for the grader to read.
There are three questions on this exam. You have 2 hours to complete it. Please indent your program so that it is easy for the grader to read. 1. Write a function named largestadjacentsum that iterates
More informationChapter 2. The Algorithmic Foundations of. Computer Science INVITATION TO. Computer Science. Tuesday, September 10, 13
Chapter 2 The Algorithmic Foundations of Computer Science INVITATION TO Computer Science 1 Objectives After studying this chapter, students will be able to: Explain the benefits of pseudocode over natural
More information1.4 MULTIPLYING WHOLE NUMBER EXPRESSIONS
1.4 MULTIPLYING WHOLE NUMBER EXPRESSIONS Understanding Multiplication of Whole Numbers Multiplication of whole numbers can be thought of as repeated addition. For example, suppose that a small parking
More informationNacre Software Services. Enhancing Employability of Fresh Grads
Nacre Software Services Enhancing Employability of Fresh Grads Job Guaranteed Program for 2014 Freshers Talent Hunt 2014 Talent Hunt 2014 - Sample Paper Total No of Questions 60 Questions Total Time Duration
More informationProblem Y A limit 1 second. Zigzag
Problem Y A limit second Zigzag Your Ph.D. thesis on properties of integer sequences is coming along nicely. Each chapter is on a di erent type of sequence. The first covers arithmetic sequences. Subsequently
More informationAlgebra II. Slide 1 / 179. Slide 2 / 179. Slide 3 / 179. Rational Expressions & Equations. Table of Contents
Slide 1 / 179 Slide 2 / 179 Algebra II Rational Expressions & Equations 2015-08-15 www.njctl.org Table of Contents Slide 3 / 179 Working with Rational Expressions Joint and Inverse Variation Simplifying
More information4 ' MATHCOUNTS National Competition Sprint Round Problems 1-30 DO NOT BEGIN UNTIL YOU ARE INSTRUCTED TO DO SO.
4 ' MATHCOUNTS. 2004 National Competition Sprint Round Problems 1-30 Name School State, DO NOT BEGIN UNTIL YOU ARE INSTRUCTED TO DO SO. This round consists of 30 problems. You will have 40 minutes to complete.
More informationASSIGNMENT 2. COMP-202A, Fall 2011, All Sections. Due: Monday, October 17th, 2011 (23:30)
ASSIGNMENT 2 COMP-202A, Fall 2011, All Sections Due: Monday, October 17th, 2011 (23:30) Please read the entire pdf before starting. The bottom has important instructions for how to test your code before
More information2015 Canadian Computing Competition: Junior Division. Sponsor:
2015 Canadian Computing Competition: Junior Division Sponsor: 1 Canadian Computing Competition Student Instructions for the Junior Problems 1. You may only compete in one competition. If you wish to write
More informationICPC/CCPC Trial Round #2 East China Normal University, September 12, 2018
Problem N. Nale Sort file: file: 3 seconds Nale developed a sorting algorithm described by the following pseudocode: nale_sort ( array nums ) { if ( nums. size
More informationProblems Overview. The 2015 Asia ACM-ICPC Hanoi Regional Contest. Note: The input and output for all the problems are standard input and output.
Problems Overview Problem A: Obfuscated Emails Problem B: Parallelogram Problem C: Egyptian Encryption Problem D: Work Effectiveness Problem E: Pepsi Distribution Problem F: Genome Problem G: Cloud Computing
More informationTaking Apart Numbers and Shapes
Taking Apart Numbers and Shapes Writing Equivalent Expressions Using the Distributive Property 1 WARM UP Calculate the area of each rectangle. Show your work. 1. 6 in. 2. 15 in. 12 yd 9 yd LEARNING GOALS
More information