ACM Programming Team Bill Punch. ACM Programming Contest One of the premier programming competitions. Held every year since 1977 MSU was the winner that.

Slides:



Advertisements
Similar presentations
Introduction to Programming
Advertisements

Programming Puzzles and Competitions CIS 4900 / 5920 Spring 2009.
Troy High/CSU DH Programming Contest Troy/CSU DH.
1 ACM Programming Contest Nov 3, Introduction ACM organized such contests from1977 Contest Regional Qualifying Final Purpose provides college.
Jotto! JRsSRsElderly slate 3 This term's first class to guess another's word earns 1 problem... slate 2slate 1 This term's last class to have its word.
Course Web Site – Also linked from Blackboard Course Materials – Excel Tutorials – Access Tutorials – PPT.
Contest format 5 hours, around 8-12 problems One computer running (likely)Linux, plus printer 3 people on one machine No cell phones, calculators, USB.
Informal assessment and questioning skills Elizabeth Webster Regional Coordinator for Yorkshire and the Humber.
Today's training was a "classical" kind of training on one of the maps of St Etienne area. Since most of our maps are quite hilly here,
CS 180 Problem Solving and Object Oriented Programming Fall 2011 Notes for Week 3: September 5-9, 2011 Aditya Mathur Department of Computer Science Purdue.
Stacks.
Announcements Final Exam: Project Due on Wednesday at noon Central Time.
Local Programming Contest Overview John Paxton October 25, 2006.
CEP Welcome September 1, Matthew J. Koehler September 1, 2005CEP Cognition and Technology Who’s Who?  Team up with someone you don’t.
Complexity (Running Time)
EPFL ACM ICPC Qualifiers Program Committee I&C, EPFL.
CS 152 & CS 154 Bill Crum, Lecturer Bill White, Instructional Coordinator Earth Chandrraungphen, Lab TA.
E28: Design Notebooks Role Playing Exercise in Gender Equity and Inclusion in Team-based Design Classes.
COMP 14 – 02: Introduction to Programming Andrew Leaver-Fay August 31, 2005 Monday/Wednesday 3-4:15 pm Peabody 217 Friday 3-3:50pm Peabody 217.
Programming. Software is made by programmers Computers need all kinds of software, from operating systems to applications People learn how to tell the.
AP World History Multiple Choice Exam.
Computer Science 102 Data Structures and Algorithms V Fall 2009 Lecture 1: administrative details Professor: Evan Korth New York University 1.
ACM Programming Competition Prof. Tony White.
Welcome to CS 3260 Dennis A. Fairclough. Overview Course Canvas Web Site Course Materials Lab Assignments Homework Grading Exams Withdrawing from Class.
Reception: How We Teach Reading
MFI Student Records Database Tutorial. Starting Out When you first open the database, it should look something like this: Adam M Moore coded this awesome.
CSc 2310 Principles of Programming (Java) Dr. Xiaolin Hu.
Prof. Matthew Hertz SH 1029F /
Training of the Carnegie Mellon Teams Greg Kesden Eugene Fink Danny Sleator.
CS161 Topic #21 CS161 Introduction to Computer Science Topic #2.
Prof. Matthew Hertz WTC 207D /
1 Project Information and Acceptance Testing Integrating Your Code Final Code Submission Acceptance Testing Other Advice and Reminders.
Week 5 - Wednesday.  What did we talk about last time?  Exam 1!  And before that?  Review!  And before that?  if and switch statements.
Leena Razzaq Office: 310BWVH Office hours: Monday 11am-1pm or by appointment jys.
Computer Programming TCP1224 Chapter 3 Completing the Problem-Solving Process and Getting Started with C++
CompSci 6 Introduction to Computer Science October 20, 2011 Prof. Rodger.
Lecture 3.4: Recursive Algorithms CS 250, Discrete Structures, Fall 2011 Nitesh Saxena *Adopted from previous lectures by Zeph Grunschlag.
Curricularizing the ACM... ? Zach Dodds ~ November 13, 2010.
ACM programming contest Introduction + Recursion.
ACM Programming Competition Prof. Tony White.
Solving Problems Quickly UAkron Programming Team January 20, 2012.
Current Assignments Homework 2 is available and is due in three days (June 19th). Project 1 due in 6 days (June 23 rd ) Write a binomial root solver using.
1 The Practice of Computing Using PYTHON William PunchRichard Enbody Chapter 3 Algorithms & Program Development Copyright © 2011 Pearson Education, Inc.
Syllabus Highlights CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington 1.
ACM reminders October HMC Mock contest 9: :30 November regional contest This is the next ACM meeting !! Contest-like problems dynamic.
22/11/ Selection If selection construct.
Chapter 5 Files and Exceptions I. "The Practice of Computing Using Python", Punch & Enbody, Copyright © 2013 Pearson Education, Inc. What is a file? A.
January 17, 2015.
Programming Fundamentals. Overview of Previous Lecture Phases of C++ Environment Program statement Vs Preprocessor directive Whitespaces Comments.
Syllabus Highlights CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington 1.
Physics 218 towards a set of guidelines. Why guidelines for 218 ?  This guidelines need to be created for several purposes: 1.to be as fair as possible.
TOPICS 1, 2, 3 & 5: (UNITS 1, 3, 2 & 4) FALL 2015 SEMESTER EXAM REVIEW COMPETITION EACH PERSON IN YOUR GROUP NEEDS AT LEAST ONE SHEET OF PAPER WITH THEIR.
Classic Connections: Innovative Methods for Making Education Work.
A High Flying Overview CS139 – Fall 2010 How far we have come.
Comp1202: Conclusions Revision Session. Coming up Key Concepts - The Pillars HashMaps Exceptions The Exam Some Last Words.
Syllabus Highlights CSE 1310 – Introduction to Computers and Programming Alexandra Stefan University of Texas at Arlington 1.
Welcome to Mario Kart!... Er… EECS 183 Discussion!
Elementary Programming Concepts Hannah Westra
CE221 – Data Structures & Algorithms Lab Introduction
Jie(Jay) Wang Week1 Sept. 30
Session 1 - Introduction
Big Data Analytics: HW#3
Computing in the Classroom and best practices to improve gender diversity equity: Professional development for adjunct faculty Professor Younge’s Experience.
CMPT 409 – Competitive Programming (Spring 2018)
Cracking the Coding Interview
Build It Break It Fix It Andrew Ruef, Michael Hicks, Dave Levin, James Parker, Atif Memon, Jandelyn Plane, Peter Mardziel.
Programming in JavaScript
Tonga Institute of Higher Education IT 141: Information Systems
Programming in JavaScript
Tonga Institute of Higher Education IT 141: Information Systems
Presentation transcript:

ACM Programming Team Bill Punch

ACM Programming Contest One of the premier programming competitions. Held every year since 1977 MSU was the winner that first year! In 1992 MSU came in second (of the world competition), second to Melbourne It is a tough competition and requires a lot of practice. You really have to be "into" this kind of thing to enjoy the effort that is required That's why we are here, to practice

The rules Each "team" consists of three members teams share a single computer during the contest requires some coordination of effort (though less than you might think) Each university can send at most three teams Competition is done in two rounds: first round is the regional competition Our region is ECNA (East Central North America). You can find them at where xxxx is the year. No xxxx means the latest yearhttp://acm.ashland.edu/xxxx This is a tough region: UoM, Carnegie Mellon, Waterloo, Toronto

more rules The top two from each region can go onto the world competition (held in various lovely places, last year Orlando, 2012 is Warsaw Poland) sometimes more than 2 can go from a region. Ours is a pretty good region world competition determines the winner!

Local Competition We have to pick teams sometime in September/October. selection of teams will be a competition held in the Fall Our regional Final will be sometime in late October, probably at Grand Valley (last year it was Oct 21). We will have some competitions during the course of this semester thanks to Charlie Andrews, using the ACM programming environment (more on that later).

What we need to do is … Get better at learning how to apply algorithms to the problems that come up. Practice, individual practice, is probably the most important so we will do more of that this semester

You can practice on your own There are problems here of varying difficulty which you can submit and see how well you do problems are numbered, we will be working off of these you have to register to get onto this site, please do that.

handin as a way of keeping track who does what, I have created a handin site for all of us this is prgtem (only allowed 6 letters) you should all be registered, at least everyone who came previously and said they were interested I will give out problems each week. You submit them to handin before the next session Voluntary for those not getting credit, mandatory for those with credit. Every week, before class In the comments of each program, record your time (that is, keep time as to how long it took you to get a correct submission to the UVA judge).

It is all about speed This is a contest of speed. Comments, organization, OOP, none of that matters Getting the right answer matters! What counts as a right answer can be tricky! the questions and the examples can look easy, but there are edge cases that can be difficult, time consuming getting your program to run efficiently is often the problem. We must write efficient code!

Scoring Each team gets some number of problems to solve in 5 hours 7 – 9 problems, word problems which can be hard to parse The team that solves the most problems wins! If multiple teams solve the same number of problems, then how long it took them breaks the tie (short times win) Every mis-submission counts as 30 minutes against your time! Just remember, the more problems you solve, the better. That is the winning strategy Testing is done by an automatic judge (like UVA) that tests a broad number of cases if you mess up, you can get one of a set of cryptic error messages saying what went wrong

Languages You can use one of 3 languages: C, C++, Java We are a C++ shop so we will concentrate on that, but that is typically not the issue. Knowing the algorithm is the issue none the less, familiarity with the language is helpful and we will talk about that early on. If you have never programmed C++ before (or are just learning), you will have to work some to keep up.

C++ I/O All I/O for Acm programming contest problems is assumed to come from standard in and goes to standard out. No file manipulation is required It is as if the problem were run as follows. Assume the name of the compiled program is a.out./a.out < input.txt output is fed to the console and graded

problem Look at Volume1, problem 100 remember the cin >> someInt will read in an integer from standard in remember that cin.eof() is set to True when cin tries to read from an empty input

problem Look at Volume 4, number 483 Couple of things there: how to read in the line: getline(cin,line) how to parse the line : string streams how to reverse the line: reverse iterator is nice