Search found 3 matches
- Sun Aug 11, 2002 11:41 am
- Forum: Volume 1 (100-199)
- Topic: 139 - Telephone Tangles
- Replies: 66
- Views: 8282
WA again :(
I've tried with some example inputs found on this board. For the input:
[quote]
088925 Broad-wood$ 81
03 Arrow.town$ 38
0061 Australia$ 140
0911 N
- Tue Jul 30, 2002 10:45 am
- Forum: Volume 1 (100-199)
- Topic: 180 - Eeny Meeny
- Replies: 34
- Views: 9710
another question: I receive NO reply whatsoever. Why?
This is my email (ofcourse, w/o BBCode formatting): @begin_of_source_code [cpp]// @JUDGE_ID: <my_correct_ID> 180 C++ #include <iostream> #include <string> //#include "profile.h" using namespace std; const long MAX_PERS = 1000000; const long EENY_MEENY = 15 - 1; //const string InitVectorDescr("InitVe...
- Fri Jul 05, 2002 8:56 pm
- Forum: Volume 1 (100-199)
- Topic: 143 - Orchard Trees
- Replies: 90
- Views: 12603
yuck! It IS the precision..
It happened to me also... My solution was also wrong because of a to good precision :cry: Here it is: #include <stdio.h> #include <math.h> const double EPSILON = 1e-9; // *** WA with 1e-15 *** double x1, y1; double x2, y2; double x3, y3; // helpers inline double minimum(double& a, double& b, double&...