hihii.
 Quote:

Your solution passed all tests

KiXtart
KiXtart Version = 4.53
KiXGolf Script = kixgolf_if.kix

Computer
OS = Windows XP Professional
CPU = Intel Pentium Model 15
Speed = 2131 MHz
Memory = 1526 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = Instruens Fabulam
Processing Start = 2008/12/30 21:21:41.890
Processing End = 2008/12/30 21:21:41.906
Duration = 0000/00/00 00:00:00.016
KiXGolf Score = 422


 Code:
Function CIF($d, $l)
Dim $, $c, $i, $j, $p, $k, $o, $r, $t[($d^)-1]

	$ = @crlf
	$l = split($l,$)
	
	For $k = 0 to 1
		$c='@' + join($t,'-') + '@'
		$r = $c + $
		For $i = 0 to ubound($l)
			For $j = 0 to ($d^)-1
				$ = split($l[$i],'&')[$j]
				$o = substr($d,$j+1,1)
				$p = $t[$j]
				while ($p^)<($^)+2
					$p = $p + '-'
				Loop
				while ($p^)>($^)+2
					$ = ' ' + $ + ' '
					$ = iif( $o=">",left($,~),right( $,iif( $o="=",($p^)-2,~ ) ) )
				Loop
				$t[$j] = $p
				$r = $r + '| ' + $ + ' '
			Next
			$ = @crlf
			$r = $r + '|'+$ + iif($i=0, '|' + join($t,'+') + '|' + $,@)
			$cif = $r + $c
EndFunction
_________________________
!

download KiXnet