Programming Assignment Tutorial

Slides:



Advertisements
Similar presentations
Business School How to Interpret Turnitin Reports Lindsay Williams Senior Lecturer in Business and Management.
Advertisements

EWU On-line Application Tutorial. Online Employment System Training for Eastern Washington University Applicants This presentation will take approximately.
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.
Online STUDENT PORTAL - TURNITIN Student Manual Ver 1 LSC GROUP OF COLLEGES Belgrade IT Department 2011 LSC GROUP OF COLLEGES Belgrade IT Department 2011.
D2L Orientation The Sociology of Aging GERON 300 or FCS 330 or SOC Sacramento City College- Jo-Ann Foley.
Zhang Hongyi CSCI2100B Data Structures Tutorial 2
Welcome to Florida International University Online J.O.B.S. Link Applicant Tutorial.
Using CourseCompass Features You must already be registered or enrolled in a current class.
Using MyMathLab Features You must already be registered or enrolled in a current class.
Welcome to the Brookdale Community College Online Employment System Applicant Tutorial.
Using CourseCompass Features You must already be registered or enrolled in a current class.
Welcome to the Ivy Tech Community College Online Employment System Applicant Tutorial.
CIS101 Introduction to Computing Week 11. Agenda Your questions Copy and Paste Assignment Practice Test JavaScript: Functions and Selection Lesson 06,
Using MyMathLab Features You must already be registered or enrolled in a current MyMathLab class in order to use MyMathLab. If you are not registered or.
1 Welcome to the Colgate University Online Employment System Applicant Tutorial.
Start the slide show by clicking on the "Slide Show" option in the above menu and choose "View Show”. or – hit the F5 Key.
Computer Science 102 Data Structures and Algorithms V Fall 2009 Lecture 1: administrative details Professor: Evan Korth New York University 1.
Welcome to the Sinclair Community College Online Employment Applicant Tutorial.
Welcome to the University of Florida Online Employment System Applicant Tutorial.
Welcome to And the Rice University Online Job Application Tutorial.
Start the slide show by clicking on the "Slide Show" option in the above menu and choose "View Show”. or – hit the F5 Key.
Welcome to the Alaska Statewide System Online Employment System Applicant Tutorial.
Start the slide show by clicking on the "Slide Show" option in the above menu and choose "View Show”. or – hit the F5 Key.
Welcome to the Southeastern Louisiana University’s Online Employment Site Applicant Tutorial!
Study Tips for COP 4531 Ashok Srinivasan Computer Science, Florida State University Aim: To suggest learning techniques that will help you do well in this.
Start the slide show by clicking on the "Slide Show" option in the above menu and choose "View Show”. or – hit the F5 Key.
Welcome to the University of West Florida Online Employment System Applicant Tutorial.
CS223 Algorithms D-Term 2013 Instructor: Mohamed Eltabakh WPI, CS Introduction Slide 1.
Welcome to CS 3260 Dennis A. Fairclough. Overview Course Canvas Web Site Course Materials Lab Assignments Homework Grading Exams Withdrawing from Class.
EWU On-line Application Tutorial. Online Employment System Training for Eastern Washington University Applicants This presentation will take approximately.
Online Training for TEXAS TECH UNIVERSITY and TEXAS TECH HSC Hiring Managers Employment Office April 2003.
Start the slide show by clicking on the "Slide Show" option in the above menu and choose "View Show”. or – hit the F5 Key.
Tier 4 “Online” Tutorial
Start the slide show by clicking on the "Slide Show" option in the above menu and choose "View Show”. or – hit the F5 Key.
MathXL ® for School Student Training Series Enrolling in Your MathXL ® for School Class & Setting Up Your Computer for MathXL ® for School.
Mastering Physics Registration How to Access MasteringPhysics 1.
Summary of what we learned yesterday Basics of C++ Format of a program Syntax of literals, keywords, symbols, variables Simple data types and arithmetic.
USNSCC Instructions for Test Admin View this manual using Microsoft’s Internet Explorer. May not be compatible with other browsers To download this document.
Using MyMathLab Features of MyMathLab You must already be registered or enrolled in a current MyMathLab class in order to use MyMathLab. If you are not.
Tier 4 “Online” Tutorial
1 Sacramento City College- Jo-Ann Foley D2L Orientation.
Tier 4 “Online” Tutorial. portal Click here.
PC131/PC151 MECHANICS Dr. Brian West Enrolling in WebAssign (complete this by Sept 26) note: the screencaps on the following slides are from fall 2009…they.
1 Data Structures COP 4530 Spring 2010 MW 4:35 PM – 5:50 PM CHE 101 Instructor:Dr. Rollins Turner Dept. of Computer Science and Engineering ENB
CS 162 Introduction to Computer Science II Winter, 2014: 60 Spring, 2014: 60 Summer, 2014: 71.
Data Structures and Algorithms in Java AlaaEddin 2012.
Required Text Package ISBN: Math 1A03 McMaster University.
D2L Orientation Marriage and the Family FCS 320 or SOC Sacramento City College- Jo-Ann Foley.
Online Recruiting System Hiring Manager Presentation This presentation will take about 15 minutes. Click on your mouse to go to the next slide OR click.
DEVRY CIS 170 C I L AB 2 OF 7 D ECISIONS Check this A+ tutorial guideline at decisions For.
Student Orientation to Connect Math Hosted by ALEKS
Journal of Mountain Science (JMS)
Prawn Sandwich Manager
Richard P. Simpson Midwestern State University
3.1 Algorithms (and real programming examples).
Lab Safety Training Manual
MasteringChemistry Getting started Presenter instructions:
Using MyMathLab Features
Student Orientation Fall 2016.
EARLY START PROGRAM, SUMMER 2017
to the Fort Worth Chamber’s Member Information Center
Welcome to Day One!.
Turning In Your Final Paper
Using MyMathLab Features
Using CourseCompass Features
CMSC201 Computer Science I for Majors Final Exam Information
CSCE 221 Professor Lupoli TAMU CSCE 221 Intro.
Review of Previous Lesson
Presentation transcript:

Programming Assignment Tutorial [CSED331] Algorithm course Seungjun Lee Sunghwan Kim Taehoon Ahn Contact: algo-19@postech.ac.kr

Programming Assignment You will take 7-8 programming assignments. Problems are originated on the lectures. Language: any of C/C++/python, no others. Deadline: Sunday 23:59:59 You will have 1 or 2 week(s) per assignment. We also have programming mid-term and final exam. You can use all the materials on domjudge site at exam.

Introduction of Domjudge Domjudge system https://algo.postech.ac.kr/ Submit your code at here. Real-time evaluation. Click “Domjudge”

Registration Click “Login” and “Register now”

Registration Make your Own ID After making your ID, please let us know which ID is yours by answering Google sheet below. https://goo.gl/forms /Ty4vm2QoLop34N U12

Domjudge Home After logging in ① Links to main page ② Select assignments you will solve. Now you will face two contests: “warmup” and “assn1”. In this slide, we will deal with “warmup” contest. “assn1” is up to you! ① ②

Problem Text “Problemset” button will lead you to this page. You can access each problem text here. You also can access to problem text from the score board. (red box)

Scoreboard “Scoreboard” will lead you to this page. You can see your rank JUST FOR FUN. The important thing is the number of solved problems.

How to Submit Your Program Submit button will show you the submission form. ① Select source file ② Select problem ③ Select language (important!) ① ② ③

Submission Results You can check your submission results from home

Submission Results There will be these results: PENDING: The system is evaluating your program. Wait and press F5 to check your result. If it takes too long, ask us. COMPILER-ERROR: There was an error during compilation of your code. You can see the error message. RUN-ERROR: There was an error during running your program. You should check whether there was index out of range, stack overflow, wrong input format, etc. NO-OUTPUT: There was no output from your program. WRONG-ANSWER: Output of your program doesn’t match with the answer. TIMELIMIT: Your program failed to be terminated in timelimit. Write more efficient program. TOO-LATE: Your submission was posted after the end of deadline. CORRECT: Correct answer!

Read Problem Carefully! Otherwise, you can solve WRONG problem. Or, you solve the problem in wrong way. Problem statement guides time complexity you should achieve. Also, you should keep the input/output statement.

Time Complexity in Problem Solving The maximum size of input gives you the hint of optimal time complexity. Table shows the scale of computation corresponding to time complexity and size of input. O(n^3) O(n^2) O(n lg n) (approx.) 100 1,000,000x 10,000x 1,650x 1000 100,000,000x 16,500x 10000 1e+12x 165,000x 100000 1e+15x 10,000,000,000x 1,650,000x 3GHz = 3,000,000,000 instructions / second In 1 second? Loose Very tight Impossible

Notice about Plagiarism - Copy Checking DO NOT COPY code from your friend, senior or internet! We will use automatic copy checker program to detect plagiarism. We can ask you some explanation if your implementation has high similarity with any other implementation. Note that cheating is great violation according to POSTECH regulation! WE DON’T CARE WHO IS SOURCE AND WHO IS RECEIVER. We are the master copy checker :P

Let’s Practice! Click problem 1 in “warmup” contest. It defines the goal of program, input/output style and time limit. You should satisfy all described statements. Luckily, we provide you a solution for this tutorial problem.

Let’s Practice! Copy the solution and paste it to your local file and save Then, submit the file to Domjudge system! (Note that we used “long long” type in C/C++ for this problem. Do not make a mistake using small data type that doesn’t cover the given input range)

Let’s Practice! Now, try to solve problem 2 (sorting) using Standard Library! .quick_sort() in C, STL in C++ or .sort() in Python

Clarification You will encounter numerous problems during the assignment. You can leave question to TAs at the system. You can ask any topic related to the programming assignments. But, do not ask test case!

Clarification How?