summaryrefslogblamecommitdiffstats
path: root/fiz/naloga/relacije/lušči.php
blob: ed7710a48f8ed1d5ea62852aafddeec398ce8f6e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                             
#!/usr/bin/env php
<?php
$a = true;
while ($a) {
	$a = fgets(STDIN);
	if ($a == "")
		continue;
	$v = abs(explode("\t", $a)[$argv[1] == "x" ? 1 : 2]);
	if ($v <= $argv[2])
		echo $a;
}
?>