# Problem C (BAPC-2009) [ Thu Dec 30 02:04:02 EET 2010]

# | File | Judgement | Score | MaxTime | MaxMemory | TotalTime
--- | --- | --- | --- | --- | --- | ---
1 | /home/alt/work/java/djudge/problems/BAPC-2009/C/solutions/Titanic_ando.java | CE | 0 | n/a | n/a
2 | /home/alt/work/java/djudge/problems/BAPC-2009/C/solutions/Titanic_ando2.java | TLE | 0 | 60s 936 ms | 13 250 560
3 | /home/alt/work/java/djudge/problems/BAPC-2009/C/solutions/titanic-twan.c | AC | 1 | 16s 97 ms | 17 47 552
4 | /home/alt/work/java/djudge/problems/BAPC-2009/C/solutions/titanic-twan.cpp | AC | 1 | 3s 224 ms | 25 554 944
5 | /home/alt/work/java/djudge/problems/BAPC-2009/C/solutions/titanic_Twan_delauney.java | AC | 1 | 6s 144 ms | 62 726 144
6 | /home/alt/work/java/djudge/problems/BAPC-2009/C/solutions/titanic_Twan_delauney_wrong.java | WA | 0 | 4s 680 ms | 61 489 152
7 | /home/alt/work/java/djudge/problems/BAPC-2009/C/solutions/titanic_Twan_slow.java | CE | 0 | n/a | n/a

### Results of testing '/home/alt/work/java/djudge/problems/BAPC-2009/C/solutions/Titanic_ando.java'

Compilation Error
    Titanic_ando.java:96: cannot find symbol
    symbol  : variable coords
    location: class Vertex
    			long d = c.liesLeftOf(vertices[i].coords,vertices[(i+1)%3].coords);
    			                                 ^
    Titanic_ando.java:96: cannot find symbol
    symbol  : variable coords
    location: class Vertex
    			long d = c.liesLeftOf(vertices[i].coords,vertices[(i+1)%3].coords);
    			                                                          ^
    Titanic_ando.java:120: cannot find symbol
    symbol  : variable dag
    location: class Triangle
    		if (parent1 != null) parent1.dag.addChild(this);
    		                            ^
    Titanic_ando.java:121: cannot find symbol
    symbol  : variable dag
    location: class Triangle
    		if (parent2 != null) parent2.dag.addChild(this);
    		                            ^
    4 errors

### Results of testing '/home/alt/work/java/djudge/problems/BAPC-2009/C/solutions/Titanic_ando2.java'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 0 | 60s 936 ms of 60s 0 ms | 13 250 560 of 268 435 456 | 302 | TLE |  | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-12-30_02-02-22-083_ex/

### Results of testing '/home/alt/work/java/djudge/problems/BAPC-2009/C/solutions/titanic-twan.c'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 16s 97 ms of 60s 0 ms | 17 47 552 of 268 435 456 | 840 | AC | OK 313 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-12-30_02-03-26-121_ex/

### Results of testing '/home/alt/work/java/djudge/problems/BAPC-2009/C/solutions/titanic-twan.cpp'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 3s 224 ms of 60s 0 ms | 25 554 944 of 268 435 456 | 840 | AC | OK 313 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-12-30_02-03-44-165_ex/

### Results of testing '/home/alt/work/java/djudge/problems/BAPC-2009/C/solutions/titanic_Twan_delauney.java'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 6s 144 ms of 60s 0 ms | 62 726 144 of 268 435 456 | 840 | AC | OK 313 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-12-30_02-03-48-883_ex/

### Results of testing '/home/alt/work/java/djudge/problems/BAPC-2009/C/solutions/titanic_Twan_delauney_wrong.java'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 0 | 4s 680 ms of 60s 0 ms | 61 489 152 of 268 435 456 | 846 | WA | Wrong Answer Token #68: [judge] '0' != '3' [answer] [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-12-30_02-03-56-431_ex/

### Results of testing '/home/alt/work/java/djudge/problems/BAPC-2009/C/solutions/titanic_Twan_slow.java'

Compilation Error
    titanic_Twan_slow.java:108: cannot find symbol
    symbol  : class Triangle
    location: class titanic_Twan_slow
    	ArrayList triangles = new ArrayList();
    	          ^
    titanic_Twan_slow.java:131: cannot find symbol
    symbol  : class Triangle
    location: class titanic_Twan_slow.PathTo
    		Triangle t;
    		^
    titanic_Twan_slow.java:133: cannot find symbol
    symbol  : class Triangle
    location: class titanic_Twan_slow.PathTo
    		PathTo(Triangle t, double r_sqr) {
    		       ^
    titanic_Twan_slow.java:108: cannot find symbol
    symbol  : class Triangle
    location: class titanic_Twan_slow
    	ArrayList triangles = new ArrayList();
    	                                              ^
    titanic_Twan_slow.java:147: cannot find symbol
    symbol  : method findTriangles()
    location: class titanic_Twan_slow
    		findTriangles();
    		^
    titanic_Twan_slow.java:152: cannot find symbol
    symbol  : method maxInitialRSqr()
    location: class titanic_Twan_slow
    		double max_r_sqr = maxInitialRSqr();
    		                   ^
    titanic_Twan_slow.java:163: cannot find symbol
    symbol  : variable p
    location: class titanic_Twan_slow.PathTo
    			Point p1 = here.p;
    			               ^
    titanic_Twan_slow.java:164: cannot find symbol
    symbol  : variable p
    location: class titanic_Twan_slow.PathTo
    			if (DEBUG) System.err.println("Reached " + here.p + " with r^2=" + here.r_sqr);
    			                                               ^
    titanic_Twan_slow.java:166: cannot find symbol
    symbol  : variable p
    location: class titanic_Twan_slow.PathTo
    			boolean can_escape = canEscape.contains(here.p);
    			                                            ^
    titanic_Twan_slow.java:166: cannot find symbol
    symbol  : variable canEscape
    location: class titanic_Twan_slow
    			boolean can_escape = canEscape.contains(here.p);
    			                     ^
    titanic_Twan_slow.java:168: cannot find symbol
    symbol  : variable p
    location: class titanic_Twan_slow.PathTo
    				if (DEBUG) System.err.println("Escaped from " + here.p + " with r^2=" + here.r_sqr);
    				                                                    ^
    titanic_Twan_slow.java:172: cannot find symbol
    symbol  : variable p
    location: class titanic_Twan_slow.PathTo
    			for (int i = 0 ; i < here.p.edges.size() ; ++i) {
    			                         ^
    titanic_Twan_slow.java:173: cannot find symbol
    symbol  : variable p2
    location: class titanic_Twan_slow
    				double room = line_segment_room(p1,p2);
    				                                   ^
    titanic_Twan_slow.java:175: cannot find symbol
    symbol  : variable p2
    location: class titanic_Twan_slow
    				Double old_r_sqr = best.get(p2);
    				                            ^
    titanic_Twan_slow.java:177: cannot find symbol
    symbol  : variable p2
    location: class titanic_Twan_slow
    					best.put(p2, new_r_sqr);
    					         ^
    titanic_Twan_slow.java:178: cannot find symbol
    symbol  : variable p2
    location: class titanic_Twan_slow
    					pq.add(new PathTo(p2, new_r_sqr));
    					                  ^
    16 errors