Week2 - CS130B- DATA STRUCTURES AND ALGORITHMS II...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
CS!# B± D ATA S TRUCTURES AND A LGORITHMS II D ISCUSSION S ECTION W EEK 2
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
A GENDA Programming Assignment 1 Ƭ Submission Ƭ Input Format Ƭ Output Format Ƭ Sample Run Through Ƭ Testing
Background image of page 2
P ROGRAMMING A SSIGNMENT 1 Ƭ Due Friday, January 27 at 4pm Ƭ Electronic Turnin Ɣ Detailed instruction are on the website under Homework Turnin Instruction Ɣ /usr/bin/turnin prog1@cs130b [list of files] Ɣ Multiple turnins overwrite older ones Ɣ Must compile and run on CSIL (leave a copy on CSIL as well) Ɣ Don't edit files after turning them in
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
C ONVEX H ULL - I NPUT Input to stdin Format: n x 1 y 1 x 2 y 2 ±±± x n y n n is the number of input points x i y i are the coordinates of the i th point
Background image of page 4
C ONVEX H ULL - I NPUT Sample input: 8 4 1 7 4 11 8 5 6 14 1 2 7 9 6 10 3
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
C ONVEX H ULL - I NPUT Sample input: 8 4 1 7 4 11 8 5 6 14 1 2 7 9 6 10 3
Background image of page 6
ONVEX H ULL - O UTPUT Output to stdout Format: m x 1 y 1 x 2 y 2 ±±± x m y m m is the number of points on the convex hull x i y i are the coordinates of the
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 38

Week2 - CS130B- DATA STRUCTURES AND ALGORITHMS II...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online