1 / 34

HKOI 2005 Briefing for Finalists

HKOI 2005 Briefing for Finalists. 2004-11-20. Today ’ s Schedule. HKOI Background & Goals About the Final Event Open Problem Useful Techniques Strategies Q & A Session. HKOI Background & Goals. Aims Select potential candidates for international competitions International Competitions

lavender
Download Presentation

HKOI 2005 Briefing for Finalists

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. HKOI 2005Briefing for Finalists 2004-11-20

  2. Today’s Schedule • HKOI Background & Goals • About the Final Event • Open Problem • Useful Techniques • Strategies • Q & A Session

  3. HKOI Background & Goals • Aims • Select potential candidates for international competitions • International Competitions • IOI (International Olympiad in Informatics) • NOI (China National Olympiad in Informatics) • AGAMES • SEARCC

  4. HKOI Background & Goals • Benefits of Participating in HKOI • Improve your problem solving skills • Prizes • Chances to represent Hong Kong in international competitions • Make new friends • Prepare for other competitions • e.g. ACM ICPC

  5. About the Final Event

  6. About the Final Event • Date: • 2004-12-04 (Sat) • Time: • 9:00 am – 12:00 noon (Senior Group) • 2:00 pm – 5:00 pm (Junior Group) • Please arrive 30 minutes prior to competition

  7. About the Final Event • Venue: • Room 602 & 612, William M. W. Mong Engineering Building, The Chinese University of Hong Kong • 香港中文大學 蒙民偉工程大樓(第二期) 602 室及 612 室

  8. About the Final Event • Number of Questions: 5 • 100-mark Question x 4 = 400 marks • 50-mark Question x 1 = 50 marks • Total 450 marks

  9. About the Final Event • Equipment • Desktop computer • Your own stationery • NO other electronic device is allowed

  10. About the Final Event • Equipment (Desktop Computer) • Intel Pentium 2.8GHz • 512MB RAM • Windows XP • You can use ANY software provided • e.g. IDE, compilers • You are NOT allowed to install any software

  11. About the Final Event • Programming Languages • PASCAL, C or C++ • Programming Environment • FreePascal 1.0.10 • Dev-C++ 5 Beta 9

  12. About the Final Event • Standard Input / Output • Input from keyboard • Output to screen • Do not access any files!!!

  13. About the Final Event • Program Submission • 2 diskettes will be provided • Save SOURCES and EXECUTABLES on BOTH diskettes • Save files under the root directory (A:\) • Copy the files during the competition!!! • No extra time will be provided after the contest ends

  14. About the Final Event • Judging • One of the 2 diskettes will be chosen randomly • ONLY outputs of the executables will be marked • We will not judge programs based on source code • 5-30 test cases for each question • Different test cases may carry different marks • Scores will be given for each “correct” test case • The judge’s decision will be final

  15. About the Final Event • 50%-constraint • For each task, half of the test inputs used will focus on “testing for correctness” • These inputs will be based on “small” cases only.   • What is considered “small” will be stated explicitly in the task description

  16. About the Final Event • Definition of “Correct” • Correct Answer • Follow the specified Output Format • Doing less gets NO marks • e.g. Missing separator • Doing more gets NO marks • e.g. Trailing spaces, Extra line

  17. About the Final Event • Ranking • ONLY results in the Final Event will be counted • Approximately 30 candidates from each group will be awarded prizes • Gold : Silver : Bronze ≈ 1 : 2 : 3 • All prize winners will be invited to join the HKOI trainee team as trainees

  18. About the Final Event • Questions in the Final Event • Feel free to ask for clarification in the first 30 minutes • All clarifications will be announced to all candidates

  19. Open Problem

  20. Open Problem • Problem Description • Please refer to HKOI website • There will be a slight modification to the problem in the Final Event • Purpose: • Provide finalists an idea on what a HKOI problem look like

  21. Open Problem • Common mistakes • Errors scoring zero marks • Leading / trailing space(s) • Reading files • Outputting extra line(s) • Nonzero return value • Errors scoring some marks • Incomplete Solution

  22. Useful Techniques

  23. Useful Techniques • Some Simple Algorithms/Skills • Data Processing • Mainly in Junior • Basic in Senior • Simple Mathematics

  24. Useful Techniques • Searching • Linear Search • Binary Search • Breadth First Search • Depth First Search

  25. Useful Techniques • Optimization • Exhaustion • Brute force, search all cases and compare • Dynamic Programming

  26. Strategies

  27. Strategies • Preparation for HKOI final • Open question • Revision on simple/basic algorithms • e.g. sorting, binary search, recursion • Try some past problems

  28. Strategies • Before contest starts • Check the equipment carefully • e.g. diskettes, keyboard • Check the programming environment carefully • e.g. compiling method, output path of executable • Try writing some simple programs

  29. Strategies • At the beginning stage • Read all problem descriptions • Raise questions if needed • Remember: you can raise questions only in the first 30 minutes • Pick problems to solve • From easy ones to difficult ones • Most candidates cannot solve all problems

  30. Strategies • During the competition • For easy problems • Make sure your program works for all input • For difficult problems • Do as much as you can • Test cases will cover a wide range of difficulty • Scores will be given for each “correct test case”

  31. Strategies • During the competition • Try every problems • 50%-constraint • Don’t do un-needed things • No need to validate input • Follow the output format strictly • No extra output • Save your programs periodically

  32. Strategies • Approaching the end… • Remember to store the SOURCES and EXECUTABLES on BOTH diskettes • Files should be stored in the root directory • Check all filenames • Sources • Executables

  33. References • Software Competition Reference Materials • http://www.hkace.org.hk/hkoi/hkoi_ref.htm • Open Problem • http://www.hkoi.org/ • HKOI Newsgroup • news://news.hkoi.org/hkoi

  34. Q&A • Any questions?

More Related