Posted by Natalie on July 12, 2001 at 01:09:12:
In Reply to: AVL TREE STUFF posted by Aaron on July 11, 2001 at 15:33:52:
I really want to get mine working, also, so I don't feel I wasted all of that time. I am close, but here is the result. Any ideas, anyone? I would really appreciate it, and will reciprocate with my ideas about project 2 (not that I am better off than anyone else, but sharing is always good). ;)
Thanks,
Natalie
Greetings nrooney (Natalie Rooney);
This is a message from the automatic grading script.
The time is now Wed Jul 11 23:58:16 CDT 2001
Your code was successfully compiled.
Your code self-reports your ssn as .
Your code ran normally during the first (small) test
Your code produced suspect output on the small test.
Here is what was expected:
[foo:-9]
(BALANCED) 4
[foo:-8]
(LEFT TALLER) 3
[foo:-7]
(LEFT TALLER) 2
[foo:-6]
(BALANCED) 3
[foo:-5]
(LEFT TALLER) 1
[foo:-4]
(BALANCED) 3
[foo:-3]
(BALANCED) 2
[foo:-2]
(BALANCED) 3
[foo:-1]
(BALANCED) 0
[foo:0]
(BALANCED) 4
[foo:1]
(LEFT TALLER) 3
[foo:2]
(LEFT TALLER) 2
[foo:3]
(BALANCED) 3
[foo:4]
(BALANCED) 1
[foo:5]
(BALANCED) 3
[foo:6]
(RIGHT TALLER) 2
[foo:7]
(BALANCED) 4
[foo:8]
(BALANCED) 3
[foo:9]
(BALANCED) 4
Normal termination
0
Here is what was produced:
[foo:-9]
(BALANCED) 4
[foo:-8]
(LEFT TALLER) 3
[foo:-7]
(LEFT TALLER) 2
[foo:-6]
(BALANCED) 3
[foo:-5]
(LEFT TALLER) 1
[foo:-4]
(BALANCED) 3
[foo:-3]
(BALANCED) 2
[foo:-2]
(BALANCED) 3
[foo:-1]
(BALANCED) 0
[foo:0]
(BALANCED) 4
[foo:1]
(LEFT TALLER) 3
[foo:2]
(LEFT TALLER) 2
[foo:3]
(BALANCED) 3
[foo:4]
(BALANCED) 1
[foo:5]
(BALANCED) 3
[foo:6]
(RIGHT TALLER) 2
[foo:7]
(BALANCED) 4
[foo:8]
(BALANCED) 3
[foo:9]
(BALANCED) 4
Normal termination
36
Your code ran normally during the robust test.
Your code produced suspect output on the robust test.
There were 4 lines of differences.
Here are the results of the timing run:
Analyzer: /u/dvw/icount
Version: 1.2 (30/Mar/93) (shade version: 5.25 V8 SPARC ELF32 (14/Feb/95))
Uname: fynbo.cs.utexas.edu sun4u SunOS 5.7 Generic_106541-09
Start: Wed Jul 11 23:58:32 2001
Application: ./test.exe 1 test_one.txt
Application Instructions: 31710
Stop: Wed Jul 11 23:58:33 2001
Instructions: 31710
Time: 0.040 usr 0.010 sys 0.085 real 58.597%
Speed: 634.200 KIPS
Here are the results of the timing run:
Analyzer: /u/dvw/icount
Version: 1.2 (30/Mar/93) (shade version: 5.25 V8 SPARC ELF32 (14/Feb/95))
Uname: fynbo.cs.utexas.edu sun4u SunOS 5.7 Generic_106541-09
Start: Wed Jul 11 23:58:33 2001
Application: ./test.exe 1 test_two.txt
Application Instructions: 200678063
Stop: Wed Jul 11 23:58:49 2001
Instructions: 200678063
Time: 16.090 usr 0.060 sys 16.236 real 99.469%
Speed: 12425.886 KIPS
compiles 1 0.522233
final 5.22233 -0.435153
largeloss 52014 -0.114079
largeoff 4 -0.114079
largeperfect -1 -0.407324
largespeed 2.00678e+08 2.5
official nrooney 432636962
partial 9.81981 0.598373
smallloss 36 -1.21183
smalloff 4 0.75881
smallperfect -1 -0.65529
smallspeed 31710 1.31695