Strict Standards: Declaration of Doku_Renderer_metadata::table_open() should be compatible with Doku_Renderer::table_open($maxcols = NULL, $numrows = NULL, $pos = NULL) in /home2/cp-wiki/htdocs/inc/parser/metadata.php on line 24

Strict Standards: Declaration of Doku_Renderer_metadata::table_close() should be compatible with Doku_Renderer::table_close($pos = NULL) in /home2/cp-wiki/htdocs/inc/parser/metadata.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /home2/cp-wiki/htdocs/inc/parser/metadata.php:24) in /home2/cp-wiki/htdocs/inc/actions.php on line 581

Warning: Cannot modify header information - headers already sent by (output started at /home2/cp-wiki/htdocs/inc/parser/metadata.php:24) in /home2/cp-wiki/htdocs/inc/actions.php on line 581
cs190c:ps3problems2.py
from ps3_p2_lib import *
 
"""
    This is the skeleton file for problem set 3, problem 2.
"""
 
def distance(p, q):
    return 0  #return distance 
 
def closest(points, p):
    return [5,5]  #return closest point
 
def nearest_neighbors(points):
    return  [[0,0], [5,5]]  #return pair of points
 
def in_rect(points, p, q):
    return 0   #return number of points