Dwite problem 3
Author |
Message |
saltpro15
|
Posted: Wed Mar 24, 2010 2:56 pm Post subject: Dwite problem 3 |
|
|
For each line in the problem will there ever be more than one match up? |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Tony
|
Posted: Wed Mar 24, 2010 3:04 pm Post subject: RE:Dwite problem 3 |
|
|
No, each key (string part) is unique per file, so it can have at most 1 match. |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
Insectoid
|
Posted: Wed Mar 24, 2010 3:16 pm Post subject: RE:Dwite problem 3 |
|
|
Is the difference between values the absolute difference or the literal file 1 value - file 2 value, which can result in a negative difference? |
|
|
|
|
|
Tony
|
Posted: Wed Mar 24, 2010 3:17 pm Post subject: RE:Dwite problem 3 |
|
|
It's absolute of the difference (so always non-negative) |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
saltpro15
|
Posted: Wed Mar 24, 2010 3:23 pm Post subject: RE:Dwite problem 3 |
|
|
gahhhh 4/5 again |
|
|
|
|
|
|
|