![]() |
|
|
#34 |
|
"Ed Hall"
Dec 2009
Adirondack Mtns
11×347 Posts |
Good work!
Once again, I am trying to overcome poor code with more cores, (even though that approach failed for the bonus in July). I still have a few days. (Yep, I kept thinking that in July, too.) Edit: I have written and compiled my program with debug under Code::Blocks in C++ and am running it via ./<program> in a linux terminal. It seems that I have read that you can break in with CTRL+C, check variable values and then continue the program from where it was interrupted. Is this possible without running it under something like GDB? Last fiddled with by EdH on 2018-10-10 at 03:16 Reason: To ask a question. |
|
|
|
|
|
#35 |
|
Feb 2017
Nowhere
4,643 Posts |
Congratulations!
I've pretty much drawn a blank on this one. Yes, I understand what the question is. I simply had no practical insight into the problem. I did devise an approach which in theory, could generate sets of any number of points with the required properties, but saw no way to write code that would implement the approach. To me, the most interesting thing about the problem was that the sets in question could be translated by any vector [a, b] with integer coordinates, or multiplied by any 2x2 matrix with determinant 1 or -1, and the resulting set would define triangles with the same areas as the original set. Beyond the restrictions already described in this thread, I will mention that the area of the smallest rectangle containing the set is at least twice the area of any triangle in the set. |
|
|
|
|
|
#36 | |
|
Jan 2017
6316 Posts |
Quote:
|
|
|
|
|
|
|
#37 |
|
"Ed Hall"
Dec 2009
Adirondack Mtns
381710 Posts |
Thanks uau. That's what I expected. I guess the stop and restart using CTRL-Z was what I had seen, but didn't know if there may have been a way to interrogate variables.
|
|
|
|
|
|
#38 |
|
"Forget I exist"
Jul 2009
Dumbassville
20C016 Posts |
|
|
|
|
|
|
#39 |
|
"Ed Hall"
Dec 2009
Adirondack Mtns
381710 Posts |
|
|
|
|
|
|
#40 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
36·13 Posts |
Apparently there exist a solution with S<=567 (?!).
|
|
|
|
|
|
#41 | |
|
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
22·7·167 Posts |
Quote:
Or "watch" for a key-press and print out only then "on-command" Last fiddled with by petrw1 on 2018-10-11 at 20:37 |
|
|
|
|
|
|
#42 |
|
"Ben"
Feb 2007
3×1,171 Posts |
|
|
|
|
|
|
#43 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
36·13 Posts |
Hit 'refresh', I guess. A pair of solvers have an asterisk (and they ain't me :-( )
|
|
|
|
|
|
#44 |
|
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
22·7·167 Posts |
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| October 2017 | Xyzzy | Puzzles | 9 | 2017-11-07 15:18 |
| October 2016 | R. Gerbicz | Puzzles | 10 | 2016-11-01 13:35 |
| October 2015 | LaurV | Puzzles | 3 | 2015-11-02 15:22 |
| October 2014 | Xyzzy | Puzzles | 8 | 2014-11-02 19:03 |
| 13 October is approaching! | Joe O | Prime Sierpinski Project | 1 | 2010-10-09 06:12 |